Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001375, allocations: 118.7 kB / 17.09 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.001395/0.001395, allocations: 193.8 kB / 18.01 MB, free: 5.094 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.348/1.348, 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.7296/0.7296, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.45 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1432, allocations: 76.19 MB / 0.6328 GB, free: 4.32 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001833/0.1451, allocations: 0.5649 MB / 0.6333 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.1454, allocations: 47.78 kB / 0.6334 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.1454, allocations: 4 kB / 0.6334 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.1455, allocations: 0 / 0.6334 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.1455, allocations: 0 / 0.6334 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1457, allocations: 15.92 kB / 0.6334 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.1458, allocations: 0 / 0.6334 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1458, allocations: 4 kB / 0.6334 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.1459, allocations: 0 / 0.6334 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.276e-05/0.1459, allocations: 4 kB / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1459, allocations: 0 / 0.6334 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.146, allocations: 31.91 kB / 0.6334 GB, free: 3.652 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.146, allocations: 3.984 kB / 0.6334 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.1461, allocations: 3.938 kB / 0.6335 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.319e-05/0.1461, allocations: 11.98 kB / 0.6335 GB, free: 3.633 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1462, allocations: 4 kB / 0.6335 GB, free: 3.629 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1462, allocations: 0 / 0.6335 GB, free: 3.629 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1462, allocations: 0 / 0.6335 GB, free: 3.629 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000299/0.1465, allocations: 311.6 kB / 0.6338 GB, free: 3.273 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1465, allocations: 12.03 kB / 0.6338 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.1468, allocations: 16.91 kB / 0.6338 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.064e-05/0.1469, allocations: 164.4 kB / 0.6339 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1469, allocations: 4.375 kB / 0.634 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1469, allocations: 4.375 kB / 0.634 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1471, allocations: 34.25 kB / 0.634 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1471, allocations: 4.125 kB / 0.634 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1471, allocations: 7.938 kB / 0.634 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1471, allocations: 0 / 0.634 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.1472, allocations: 7.984 kB / 0.634 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.1474, allocations: 149.7 kB / 0.6341 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.1474, allocations: 22.95 kB / 0.6342 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1475, allocations: 8.844 kB / 0.6342 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1475, allocations: 8.062 kB / 0.6342 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1476, allocations: 34.56 kB / 0.6342 GB, free: 2.691 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1476, allocations: 0 / 0.6342 GB, free: 2.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002439/0.1478, allocations: 53.55 kB / 0.6343 GB, free: 2.633 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1479, allocations: 51.41 kB / 0.6343 GB, free: 2.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.63e-05/0.1479, allocations: 93.8 kB / 0.6344 GB, free: 2.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1479, allocations: 29.83 kB / 0.6344 GB, free: 2.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.148, allocations: 80.14 kB / 0.6345 GB, free: 2.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.148, allocations: 4 kB / 0.6345 GB, free: 2.348 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.148, allocations: 13.72 kB / 0.6345 GB, free: 2.328 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1482, allocations: 314.8 kB / 0.6348 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.1482, allocations: 7.984 kB / 0.6348 GB, free: 2.004 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.674e-05/0.1483, allocations: 0 / 0.6348 GB, free: 2.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.728e-05/0.1484, allocations: 24.84 kB / 0.6349 GB, free: 1.977 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1484, allocations: 0 / 0.6349 GB, free: 1.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001241/0.1485, allocations: 41.69 kB / 0.6349 GB, free: 1.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1485, allocations: 8 kB / 0.6349 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1486, allocations: 0 / 0.6349 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1486, allocations: 7.922 kB / 0.6349 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.1487, allocations: 4 kB / 0.6349 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1487, allocations: 32 / 0.6349 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.1487, allocations: 7.906 kB / 0.6349 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1487, allocations: 0 / 0.6349 GB, free: 1.902 MB / 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 (1): * Single equations (assignments): 1 * 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 8.106e-05/0.1488, allocations: 113.8 kB / 0.635 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.1488, allocations: 3.984 kB / 0.635 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.1489, allocations: 7.062 kB / 0.635 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1489, allocations: 0 / 0.635 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1489, allocations: 0 / 0.635 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1489, allocations: 0 / 0.635 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.149, allocations: 149.7 kB / 0.6352 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.149, allocations: 0 / 0.6352 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.149, allocations: 3.984 kB / 0.6352 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1491, allocations: 7.938 kB / 0.6352 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1491, allocations: 3.938 kB / 0.6352 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1491, allocations: 0 / 0.6352 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1491, allocations: 0 / 0.6352 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1492, allocations: 69.11 kB / 0.6353 GB, free: 1.473 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1493, allocations: 85.05 kB / 0.6354 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1493, allocations: 3.938 kB / 0.6354 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.1493, allocations: 0 / 0.6354 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.1494, allocations: 0 / 0.6354 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1494, allocations: 3.938 kB / 0.6354 GB, free: 1.363 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.361e-05/0.1494, allocations: 79.28 kB / 0.6354 GB, free: 1.285 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1494, allocations: 0 / 0.6354 GB, free: 1.285 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001761/0.1496, allocations: 4 kB / 0.6354 GB, free: 1.281 MB / 478.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 (1): * Single equations (assignments): 1 * 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.0001169/0.1497, allocations: 103.3 kB / 0.6355 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.1499, allocations: 15.92 kB / 0.6356 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1499, allocations: 0 / 0.6356 GB, free: 1.152 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.1499, allocations: 4 kB / 0.6356 GB, free: 1.148 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1501, allocations: 6.031 kB / 0.6356 GB, free: 1.145 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.1503, allocations: 118.9 kB / 0.6357 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1506, allocations: 0.6729 MB / 0.6363 GB, free: 304 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.1506, allocations: 7.438 kB / 0.6363 GB, free: 296 kB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1506, allocations: 0 / 0.6363 GB, free: 296 kB / 478.1 MB Notification: Performance of Templates: time 0.00166/0.1523, allocations: 391.7 kB / 0.6367 GB, free: 15.91 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)