Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 113.1 kB / 17.08 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 197.8 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6939/0.6939, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 66.38 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1176, allocations: 76.17 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002226/0.1198, allocations: 1.431 MB / 0.6341 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006875/0.1205, allocations: 467.8 kB / 0.6346 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.1206, allocations: 4 kB / 0.6346 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.1206, allocations: 7.938 kB / 0.6346 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.1207, allocations: 7.922 kB / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1209, allocations: 15.97 kB / 0.6346 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.1209, allocations: 27.88 kB / 0.6346 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.121, allocations: 11.98 kB / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.1211, allocations: 7.938 kB / 0.6347 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.1211, allocations: 15.92 kB / 0.6347 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1211, allocations: 0 / 0.6347 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.688e-05/0.1212, allocations: 27.97 kB / 0.6347 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1212, allocations: 4 kB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.1212, allocations: 11.92 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1214, allocations: 35.84 kB / 0.6347 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1214, allocations: 0 / 0.6347 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1214, allocations: 0 / 0.6347 GB, free: 2.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1214, allocations: 0 / 0.6347 GB, free: 2.316 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003927/0.1218, allocations: 339.4 kB / 0.6351 GB, free: 1.938 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1218, allocations: 12.03 kB / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1219, allocations: 8.938 kB / 0.6351 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.122, allocations: 180.2 kB / 0.6353 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.122, allocations: 4.375 kB / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.122, allocations: 384 / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1222, allocations: 53.98 kB / 0.6353 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1222, allocations: 0 / 0.6353 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1222, allocations: 0 / 0.6353 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1222, allocations: 0 / 0.6353 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1224, allocations: 35.97 kB / 0.6354 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.1227, allocations: 252.8 kB / 0.6356 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1228, allocations: 34.56 kB / 0.6356 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.1229, allocations: 24.91 kB / 0.6357 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.123, allocations: 85.09 kB / 0.6357 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.123, allocations: 34.56 kB / 0.6358 GB, free: 1.094 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1231, allocations: 3.938 kB / 0.6358 GB, free: 1.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003254/0.1234, allocations: 85.58 kB / 0.6358 GB, free: 1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.1234, allocations: 51.41 kB / 0.6359 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.1235, allocations: 105.8 kB / 0.636 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1235, allocations: 29.83 kB / 0.636 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.1236, allocations: 80.14 kB / 0.6361 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1236, allocations: 11.84 kB / 0.6361 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.1236, allocations: 13.72 kB / 0.6361 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.1237, allocations: 310.8 kB / 0.6364 GB, free: 372 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.1238, allocations: 19.97 kB / 0.6364 GB, free: 352 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.1239, allocations: 15.98 kB / 0.6365 GB, free: 336 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.124, allocations: 44.83 kB / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.124, allocations: 0 / 0.6365 GB, free: 288 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.1242, allocations: 73.59 kB / 0.6366 GB, free: 208 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1242, allocations: 4 kB / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1243, allocations: 0 / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1243, allocations: 32 / 0.6366 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.1244, allocations: 15.98 kB / 0.6366 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1244, allocations: 0 / 0.6366 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.1244, allocations: 7.984 kB / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1244, allocations: 0 / 0.6366 GB, free: 180 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.1245, allocations: 109.8 kB / 0.6367 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1245, allocations: 11.84 kB / 0.6367 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.1248, allocations: 76.77 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1248, allocations: 3.938 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1248, allocations: 0 / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1248, allocations: 4.25 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1249, allocations: 161.6 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.125, allocations: 4 kB / 0.637 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.125, allocations: 7.984 kB / 0.637 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.125, allocations: 4 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.125, allocations: 0 / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.125, allocations: 0 / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.125, allocations: 4.031 kB / 0.637 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1253, allocations: 163.5 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.1253, allocations: 81.05 kB / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1253, allocations: 0 / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.1254, allocations: 7.984 kB / 0.6372 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1255, allocations: 12.03 kB / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.1255, allocations: 0 / 0.6372 GB, free: 15.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.425e-05/0.1255, allocations: 79.28 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1255, allocations: 3.938 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1257, allocations: 4 kB / 0.6373 GB, free: 15.35 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.1259, allocations: 103.2 kB / 0.6374 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1261, allocations: 39.97 kB / 0.6374 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1261, allocations: 0 / 0.6374 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.1262, allocations: 19.97 kB / 0.6375 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1265, allocations: 13.81 kB / 0.6375 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.1267, allocations: 131.2 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.127, allocations: 0.6806 MB / 0.6383 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.127, allocations: 7.562 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.127, allocations: 4 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Templates: time 0.001779/0.1288, allocations: 0.6607 MB / 0.6389 GB, free: 13.62 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)