Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00248/0.00248, allocations: 288.8 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.262/1.262, allocations: 180.9 MB / 0.5261 GB, free: 14.75 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 99.11 kB / 0.7248 GB, free: 40.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1595, allocations: 94.16 MB / 0.8167 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001699/0.1612, allocations: 0.5351 MB / 0.8172 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.1619, allocations: 327.1 kB / 0.8175 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.1619, allocations: 0 / 0.8175 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.1619, allocations: 3.938 kB / 0.8176 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.1619, allocations: 0 / 0.8176 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1623, allocations: 103.7 kB / 0.8177 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.1624, allocations: 8 kB / 0.8177 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.1624, allocations: 4 kB / 0.8177 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.259e-05/0.1624, allocations: 3.938 kB / 0.8177 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.1625, allocations: 11.98 kB / 0.8177 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1625, allocations: 0 / 0.8177 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.1628, allocations: 191.7 kB / 0.8179 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.1628, allocations: 0 / 0.8179 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.1628, allocations: 7.938 kB / 0.8179 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.163, allocations: 84.06 kB / 0.8179 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.163, allocations: 0 / 0.8179 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.163, allocations: 0 / 0.8179 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.163, allocations: 4 kB / 0.818 GB, free: 4.238 MB / 0.5606 GB 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.0003634/0.1634, allocations: 343.2 kB / 0.8183 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1634, allocations: 12.03 kB / 0.8183 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1634, allocations: 30.75 kB / 0.8183 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.1635, allocations: 0.9375 kB / 0.8183 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1636, allocations: 160.4 kB / 0.8185 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1636, allocations: 8.375 kB / 0.8185 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.1636, allocations: 4.328 kB / 0.8185 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.1637, allocations: 38.25 kB / 0.8185 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1637, allocations: 3.938 kB / 0.8185 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.1637, allocations: 0 / 0.8185 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1637, allocations: 0 / 0.8185 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.1638, allocations: 7.938 kB / 0.8185 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.1639, allocations: 153.7 kB / 0.8187 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.136e-05/0.164, allocations: 22.61 kB / 0.8187 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.164, allocations: 4.859 kB / 0.8187 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006349/0.1646, allocations: 0.5779 MB / 0.8193 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1647, allocations: 34.56 kB / 0.8193 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1647, allocations: 0 / 0.8193 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004731/0.1651, allocations: 262.4 kB / 0.8196 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.1652, allocations: 51.41 kB / 0.8196 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.837e-05/0.1652, allocations: 97.8 kB / 0.8197 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1653, allocations: 25.7 kB / 0.8197 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.1653, allocations: 88.36 kB / 0.8198 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1653, allocations: 19.83 kB / 0.8198 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1654, allocations: 21.7 kB / 0.8198 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1655, allocations: 310.8 kB / 0.8201 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.1655, allocations: 4 kB / 0.8201 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.1655, allocations: 25.64 kB / 0.8202 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.1656, allocations: 33.66 kB / 0.8202 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1656, allocations: 0 / 0.8202 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.505e-05/0.1657, allocations: 53.62 kB / 0.8203 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.1657, allocations: 10.12 kB / 0.8203 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1657, allocations: 0 / 0.8203 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1657, allocations: 0 / 0.8203 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.1658, allocations: 8 kB / 0.8203 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1658, allocations: 0 / 0.8203 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.1658, allocations: 0 / 0.8203 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1658, allocations: 12.05 kB / 0.8203 GB, free: 1.434 MB / 0.5606 GB 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.44e-05/0.1659, allocations: 113.8 kB / 0.8204 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.1659, allocations: 11.89 kB / 0.8204 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.166, allocations: 53.17 kB / 0.8205 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.166, allocations: 0 / 0.8205 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.166, allocations: 0 / 0.8205 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.166, allocations: 0 / 0.8205 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1661, allocations: 153.7 kB / 0.8206 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1661, allocations: 0 / 0.8206 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-05/0.1662, allocations: 16 kB / 0.8206 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1662, allocations: 3.938 kB / 0.8206 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.1662, allocations: 0 / 0.8206 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1662, allocations: 0 / 0.8206 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1662, allocations: 0 / 0.8206 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.1663, allocations: 85.05 kB / 0.8207 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.1664, allocations: 81.05 kB / 0.8208 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.1664, allocations: 0 / 0.8208 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.1664, allocations: 4.062 kB / 0.8208 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1664, allocations: 8.031 kB / 0.8208 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1664, allocations: 3.984 kB / 0.8208 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.1665, allocations: 79.28 kB / 0.8209 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1665, allocations: 0 / 0.8209 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002103/0.1667, allocations: 23.94 kB / 0.8209 GB, free: 0.707 MB / 0.5606 GB 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.0004822/0.1672, allocations: 0.6519 MB / 0.8215 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.1673, allocations: 11.98 kB / 0.8215 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1673, allocations: 3.938 kB / 0.8215 GB, free: 8 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.1673, allocations: 16.02 kB / 0.8216 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1674, allocations: 4.938 kB / 0.8216 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.1684, allocations: 1.151 MB / 0.8227 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1687, allocations: 0.6807 MB / 0.8233 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.1687, allocations: 4 kB / 0.8234 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.1687, allocations: 11.44 kB / 0.8234 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1687, allocations: 0 / 0.8234 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.1936, allocations: 2.119 MB / 0.8254 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.007, allocations: 12.69 kB / 0.8254 GB, free: 12.08 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.048228941857815] Failed to read output from testmodel.py, exit status != 0: 8.07718600006774 8.100663405 7.933501931 Calling exit ...