Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 115.7 kB / 17.09 MB, free: 5.992 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.001314/0.001314, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6983/0.6983, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.28 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1338, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001698/0.1356, allocations: 0.5244 MB / 0.6332 GB, free: 3.891 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006477/0.1362, allocations: 323.3 kB / 0.6335 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.1363, allocations: 4 kB / 0.6336 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.1363, allocations: 3.938 kB / 0.6336 GB, free: 3.566 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.613e-05/0.1363, allocations: 0 / 0.6336 GB, free: 3.566 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.1367, allocations: 99.64 kB / 0.6337 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.1368, allocations: 19.97 kB / 0.6337 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.1369, allocations: 0 / 0.6337 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.1369, allocations: 7.938 kB / 0.6337 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.1369, allocations: 0 / 0.6337 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.137, allocations: 0 / 0.6337 GB, free: 3.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.1373, allocations: 195.8 kB / 0.6339 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1373, allocations: 3.984 kB / 0.6339 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.1373, allocations: 7.938 kB / 0.6339 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1375, allocations: 79.86 kB / 0.634 GB, free: 3.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1375, allocations: 0 / 0.634 GB, free: 3.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1375, allocations: 0 / 0.634 GB, free: 3.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1375, allocations: 0 / 0.634 GB, free: 3.16 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003967/0.1379, allocations: 343.5 kB / 0.6343 GB, free: 2.773 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1379, allocations: 8.031 kB / 0.6343 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.138, allocations: 8.844 kB / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1382, allocations: 168.4 kB / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.1382, allocations: 384 / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1382, allocations: 384 / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.339e-05/0.1383, allocations: 34.2 kB / 0.6345 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1383, allocations: 4.125 kB / 0.6345 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1383, allocations: 7.938 kB / 0.6345 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1383, allocations: 4 kB / 0.6345 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.1384, allocations: 3.984 kB / 0.6345 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.1385, allocations: 153.7 kB / 0.6347 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.543e-05/0.1386, allocations: 26.58 kB / 0.6347 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.1387, allocations: 8.922 kB / 0.6347 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006093/0.1393, allocations: 0.5856 MB / 0.6353 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1393, allocations: 30.56 kB / 0.6353 GB, free: 1.496 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1393, allocations: 0 / 0.6353 GB, free: 1.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004753/0.1398, allocations: 250.2 kB / 0.6355 GB, free: 1.199 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.1399, allocations: 59.41 kB / 0.6356 GB, free: 1.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.1399, allocations: 94.06 kB / 0.6357 GB, free: 1.027 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.14, allocations: 33.7 kB / 0.6357 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.14, allocations: 80.14 kB / 0.6358 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.14, allocations: 7.906 kB / 0.6358 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1401, allocations: 13.72 kB / 0.6358 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1402, allocations: 314.8 kB / 0.6361 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.1402, allocations: 7.984 kB / 0.6361 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.1402, allocations: 21.72 kB / 0.6361 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.244e-05/0.1403, allocations: 29.66 kB / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1403, allocations: 0 / 0.6362 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.882e-05/0.1404, allocations: 53.59 kB / 0.6362 GB, free: 444 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1404, allocations: 11.88 kB / 0.6362 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1404, allocations: 4 kB / 0.6362 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1404, allocations: 0 / 0.6362 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.1405, allocations: 7.938 kB / 0.6362 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1405, allocations: 4.062 kB / 0.6362 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.1405, allocations: 7.984 kB / 0.6362 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1405, allocations: 0 / 0.6362 GB, free: 408 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.91e-05/0.1406, allocations: 117.8 kB / 0.6364 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.1406, allocations: 3.938 kB / 0.6364 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.1407, allocations: 49.19 kB / 0.6364 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1408, allocations: 4 kB / 0.6364 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1408, allocations: 0 / 0.6364 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1408, allocations: 0 / 0.6364 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1409, allocations: 165.6 kB / 0.6366 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1409, allocations: 0 / 0.6366 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.141, allocations: 7.984 kB / 0.6366 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.141, allocations: 3.938 kB / 0.6366 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.141, allocations: 0 / 0.6366 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.141, allocations: 8 kB / 0.6366 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.141, allocations: 3.938 kB / 0.6366 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1411, allocations: 73.12 kB / 0.6367 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1412, allocations: 81.17 kB / 0.6367 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1412, allocations: 12.38 kB / 0.6368 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.1412, allocations: 0 / 0.6368 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.1413, allocations: 0 / 0.6368 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1413, allocations: 4 kB / 0.6368 GB, free: 15.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.706e-05/0.1413, allocations: 83.27 kB / 0.6368 GB, free: 15.69 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1413, allocations: 0 / 0.6368 GB, free: 15.69 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.1415, allocations: 35.92 kB / 0.6369 GB, free: 15.65 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002248/0.1418, allocations: 119.2 kB / 0.637 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.044e-05/0.1418, allocations: 19.98 kB / 0.637 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1419, allocations: 0 / 0.637 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.54e-05/0.1419, allocations: 8 kB / 0.637 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.142, allocations: 4 kB / 0.637 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.1423, allocations: 141.1 kB / 0.6372 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1426, allocations: 0.6768 MB / 0.6378 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.1426, allocations: 11.44 kB / 0.6378 GB, free: 14.61 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1426, allocations: 4.125 kB / 0.6378 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Templates: time 0.002435/0.145, allocations: 0.8344 MB / 0.6386 GB, free: 13.77 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)