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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6025/0.6025, allocations: 90.81 MB / 104.5 MB, free: 9.781 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.0009079, allocations: 86.22 kB / 421.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.976e-05, allocations: 3.984 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3979, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5304, allocations: 101.2 MB / 0.6592 GB, free: 3.074 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.5307, allocations: 82.47 kB / 0.6593 GB, free: 2.996 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006287/0.537, allocations: 1.822 MB / 0.661 GB, free: 1.188 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.537, allocations: 0 / 0.661 GB, free: 1.188 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.537, allocations: 4 kB / 0.6611 GB, free: 1.184 MB / 474.7 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.0003169/0.5374, allocations: 342.4 kB / 0.6614 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.5374, allocations: 15.98 kB / 0.6614 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.5375, allocations: 34.55 kB / 0.6614 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.5375, allocations: 7.859 kB / 0.6614 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.5376, allocations: 159.1 kB / 0.6616 GB, free: 0.543 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.5377, allocations: 4 kB / 0.6616 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.5377, allocations: 0 / 0.6616 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.5378, allocations: 33.7 kB / 0.6616 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5378, allocations: 0 / 0.6616 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5378, allocations: 0 / 0.6616 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.5378, allocations: 11.92 kB / 0.6616 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.5379, allocations: 7.953 kB / 0.6616 GB, free: 492 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.538, allocations: 154.5 kB / 0.6618 GB, free: 288 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.5381, allocations: 22.59 kB / 0.6618 GB, free: 256 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.5381, allocations: 12.91 kB / 0.6618 GB, free: 240 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/0.5387, allocations: 0.5818 MB / 0.6624 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.5387, allocations: 30.56 kB / 0.6624 GB, free: 15.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5387, allocations: 0 / 0.6624 GB, free: 15.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005174/0.5393, allocations: 250.4 kB / 0.6627 GB, free: 15.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.5393, allocations: 59.41 kB / 0.6627 GB, free: 15.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.5394, allocations: 98.11 kB / 0.6628 GB, free: 15.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5394, allocations: 29.7 kB / 0.6628 GB, free: 14.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.5395, allocations: 80.14 kB / 0.6629 GB, free: 14.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.5395, allocations: 3.906 kB / 0.6629 GB, free: 14.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.5395, allocations: 0 / 0.6629 GB, free: 14.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5397, allocations: 322.8 kB / 0.6632 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.5397, allocations: 0 / 0.6632 GB, free: 14.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.5397, allocations: 25.72 kB / 0.6632 GB, free: 14.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.5397, allocations: 4 kB / 0.6633 GB, free: 14.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5397, allocations: 3.938 kB / 0.6633 GB, free: 14.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.937e-05/0.5398, allocations: 53.62 kB / 0.6633 GB, free: 14.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5399, allocations: 8.781 kB / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5399, allocations: 0 / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.5399, allocations: 2.344 kB / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.5399, allocations: 8.062 kB / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.54, allocations: 4 kB / 0.6633 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.54, allocations: 3.938 kB / 0.6633 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.54, allocations: 3.953 kB / 0.6633 GB, free: 14.45 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/0.5401, allocations: 109 kB / 0.6634 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.5401, allocations: 7.906 kB / 0.6634 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.5402, allocations: 53.12 kB / 0.6635 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.5402, allocations: 0 / 0.6635 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5402, allocations: 8 kB / 0.6635 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5402, allocations: 0 / 0.6635 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.5404, allocations: 157.6 kB / 0.6637 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5404, allocations: 0 / 0.6637 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.5404, allocations: 4 kB / 0.6637 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5404, allocations: 0 / 0.6637 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.5404, allocations: 3.984 kB / 0.6637 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.5404, allocations: 4 kB / 0.6637 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5405, allocations: 0 / 0.6637 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.5406, allocations: 81.02 kB / 0.6637 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.5406, allocations: 81.11 kB / 0.6638 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.5406, allocations: 4.031 kB / 0.6638 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.5407, allocations: 432 / 0.6638 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.5407, allocations: 3.984 kB / 0.6638 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.5407, allocations: 4 kB / 0.6638 GB, free: 13.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.5408, allocations: 79.27 kB / 0.6639 GB, free: 13.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5408, allocations: 1.219 kB / 0.6639 GB, free: 13.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.541, allocations: 39.94 kB / 0.664 GB, free: 13.72 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000497/0.5415, allocations: 0.6514 MB / 0.6646 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.753e-05/0.5416, allocations: 19.92 kB / 0.6646 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5416, allocations: 0 / 0.6646 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.5416, allocations: 8 kB / 0.6646 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.5417, allocations: 9.5 kB / 0.6646 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.542, allocations: 132.3 kB / 0.6647 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.5423, allocations: 0.6809 MB / 0.6654 GB, free: 12.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.5423, allocations: 7.984 kB / 0.6654 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.5424, allocations: 7.438 kB / 0.6654 GB, free: 12.11 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5424, allocations: 0.6562 kB / 0.6654 GB, free: 12.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.554, allocations: 1.742 MB / 0.6671 GB, free: 10.57 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.5542, allocations: 184.6 kB / 0.6673 GB, free: 10.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.125, allocations: 4 kB / 0.6673 GB, free: 10.33 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)