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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 114.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002392/0.002392, allocations: 279.4 kB / 309.8 MB, free: 3.445 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.1/1.1, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004895/0.004895, allocations: 99.86 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.5584, allocations: 95.33 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001562/0.56, allocations: 0.5504 MB / 0.8283 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006442/0.5606, allocations: 335 kB / 0.8286 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.5606, allocations: 0 / 0.8286 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.5606, allocations: 1.281 kB / 0.8286 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.083e-05/0.5607, allocations: 0 / 0.8286 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.5611, allocations: 110 kB / 0.8287 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.5611, allocations: 12.08 kB / 0.8287 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.5612, allocations: 2.281 kB / 0.8287 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.5612, allocations: 6.969 kB / 0.8288 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.5613, allocations: 7.156 kB / 0.8288 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.5613, allocations: 1.438 kB / 0.8288 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.5616, allocations: 188.9 kB / 0.8289 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.5616, allocations: 11.36 kB / 0.829 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.5616, allocations: 4.5 kB / 0.829 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.5618, allocations: 91.86 kB / 0.829 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5618, allocations: 0 / 0.829 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5618, allocations: 4.609 kB / 0.8291 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.5618, allocations: 0 / 0.8291 GB, free: 2.344 MB / 0.5762 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.0003042/0.5621, allocations: 338.5 kB / 0.8294 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5622, allocations: 10.5 kB / 0.8294 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.37e-05/0.5622, allocations: 192 / 0.8294 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.917e-05/0.5622, allocations: 31.45 kB / 0.8294 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.5622, allocations: 3.562 kB / 0.8294 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.5623, allocations: 166 kB / 0.8296 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.5623, allocations: 7 kB / 0.8296 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.5624, allocations: 384 / 0.8296 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.971e-05/0.5625, allocations: 41.33 kB / 0.8296 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5625, allocations: 0 / 0.8296 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.5625, allocations: 0.7969 kB / 0.8296 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5625, allocations: 0 / 0.8296 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.5625, allocations: 8.219 kB / 0.8296 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.5626, allocations: 152 kB / 0.8298 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.5627, allocations: 27.94 kB / 0.8298 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.5627, allocations: 8.188 kB / 0.8298 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.5641, allocations: 0.9208 MB / 0.8307 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.5642, allocations: 41.11 kB / 0.8307 GB, free: 472 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.5642, allocations: 0 / 0.8307 GB, free: 472 kB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000469/0.5646, allocations: 256.3 kB / 0.831 GB, free: 200 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.5647, allocations: 56.16 kB / 0.831 GB, free: 132 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.768e-05/0.5647, allocations: 102 kB / 0.8311 GB, free: 28 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.5647, allocations: 29.7 kB / 0.8312 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.5648, allocations: 84.92 kB / 0.8313 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.5648, allocations: 4.656 kB / 0.8313 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.5648, allocations: 17.89 kB / 0.8313 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.565, allocations: 313.8 kB / 0.8316 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.565, allocations: 8.406 kB / 0.8316 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.5651, allocations: 20.66 kB / 0.8316 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.5651, allocations: 25.53 kB / 0.8316 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5651, allocations: 0 / 0.8316 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.209e-05/0.5652, allocations: 59.48 kB / 0.8317 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5652, allocations: 6 kB / 0.8317 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5652, allocations: 0 / 0.8317 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5652, allocations: 6.719 kB / 0.8317 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.5653, allocations: 6.844 kB / 0.8317 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5653, allocations: 0 / 0.8317 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.5653, allocations: 6.656 kB / 0.8317 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.5653, allocations: 4.641 kB / 0.8317 GB, free: 15.47 MB / 0.5919 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 9.175e-05/0.5654, allocations: 113.2 kB / 0.8318 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.5654, allocations: 8.438 kB / 0.8318 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.5656, allocations: 52.34 kB / 0.8319 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5656, allocations: 4 kB / 0.8319 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5656, allocations: 1.875 kB / 0.8319 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5656, allocations: 0.8906 kB / 0.8319 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.5657, allocations: 158.7 kB / 0.832 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5657, allocations: 0.7031 kB / 0.832 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.5658, allocations: 7.438 kB / 0.832 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5658, allocations: 2.688 kB / 0.832 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.5658, allocations: 0.7031 kB / 0.832 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5658, allocations: 0 / 0.832 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5658, allocations: 0 / 0.832 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.5659, allocations: 84.02 kB / 0.8321 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.566, allocations: 86.77 kB / 0.8322 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.566, allocations: 3.953 kB / 0.8322 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.566, allocations: 4.609 kB / 0.8322 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.5661, allocations: 4.734 kB / 0.8322 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5661, allocations: 1.719 kB / 0.8322 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.5661, allocations: 79.27 kB / 0.8323 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5661, allocations: 3.938 kB / 0.8323 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002462/0.5664, allocations: 32.7 kB / 0.8323 GB, free: 14.83 MB / 0.5919 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.0005808/0.5669, allocations: 0.6471 MB / 0.833 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.567, allocations: 13.56 kB / 0.833 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.567, allocations: 0 / 0.833 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.5671, allocations: 19.44 kB / 0.833 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.5672, allocations: 6.375 kB / 0.833 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.5684, allocations: 1.144 MB / 0.8341 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.5688, allocations: 0.6753 MB / 0.8348 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.5688, allocations: 7.328 kB / 0.8348 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.5688, allocations: 14.55 kB / 0.8348 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.5688, allocations: 0 / 0.8348 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.5892, allocations: 2.207 MB / 0.837 GB, free: 12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/9.017, allocations: 12.47 kB / 0.837 GB, free: 11.99 MB / 0.5919 GB " [Timeout remaining time 651] (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.946919672947843] Failed to read output from testmodel.py, exit status != 0: 9.145419782027602 9.158895139 8.594171611 Calling exit ...