Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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: 97.92 kB / 19.73 MB, free: 2.133 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.001484/0.001484, allocations: 220.2 kB / 23.03 MB, free: 4.945 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.002561/0.002561, allocations: 286.2 kB / 313.5 MB, free: 2.598 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.228/1.228, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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 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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.002847/0.002847, allocations: 98.38 kB / 0.7403 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1641, allocations: 95.39 MB / 0.8334 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002867/0.167, allocations: 1.483 MB / 0.8349 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1681, allocations: 0.566 MB / 0.8354 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.1682, allocations: 0 / 0.8354 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.1682, allocations: 3.938 kB / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.139e-05/0.1683, allocations: 7.938 kB / 0.8354 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.169, allocations: 159.4 kB / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.1691, allocations: 59.77 kB / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.1691, allocations: 4 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.1692, allocations: 19.92 kB / 0.8357 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.1693, allocations: 23.92 kB / 0.8357 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1693, allocations: 4 kB / 0.8357 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.1697, allocations: 291.5 kB / 0.836 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.1698, allocations: 15.92 kB / 0.836 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.1698, allocations: 19.92 kB / 0.836 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.1701, allocations: 171.6 kB / 0.8362 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1701, allocations: 0 / 0.8362 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.525e-06/0.1701, allocations: 0 / 0.8362 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1701, allocations: 0 / 0.8362 GB, free: 5.488 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006609/0.1708, allocations: 325.8 kB / 0.8365 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1708, allocations: 8.75 kB / 0.8365 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.711e-05/0.1709, allocations: 8.188 kB / 0.8365 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/0.1709, allocations: 38.73 kB / 0.8365 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.1709, allocations: 8.891 kB / 0.8365 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1711, allocations: 114.5 kB / 0.8366 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.1711, allocations: 8.375 kB / 0.8366 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1711, allocations: 16.31 kB / 0.8367 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1714, allocations: 131.2 kB / 0.8368 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1714, allocations: 0 / 0.8368 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1714, allocations: 0 / 0.8368 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1714, allocations: 4 kB / 0.8368 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.1717, allocations: 51.95 kB / 0.8368 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.1722, allocations: 287.7 kB / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1725, allocations: 82.52 kB / 0.8372 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1726, allocations: 24.84 kB / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1726, allocations: 0 / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1727, allocations: 38.56 kB / 0.8373 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.1727, allocations: 0 / 0.8373 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001609/0.1743, allocations: 0.5035 MB / 0.8377 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1743, allocations: 55.34 kB / 0.8378 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.1744, allocations: 105.8 kB / 0.8379 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.1744, allocations: 29.7 kB / 0.8379 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.1745, allocations: 88.06 kB / 0.838 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1745, allocations: 43.64 kB / 0.838 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.1746, allocations: 33.7 kB / 0.8381 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1747, allocations: 310.8 kB / 0.8384 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1748, allocations: 35.97 kB / 0.8384 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.175, allocations: 31.98 kB / 0.8384 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1752, allocations: 70.7 kB / 0.8385 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1752, allocations: 0 / 0.8385 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003175/0.1755, allocations: 125.7 kB / 0.8386 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1755, allocations: 4 kB / 0.8386 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1755, allocations: 0 / 0.8386 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1756, allocations: 0 / 0.8386 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1757, allocations: 27.97 kB / 0.8387 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1757, allocations: 7.938 kB / 0.8387 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.1758, allocations: 12 kB / 0.8387 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1758, allocations: 0 / 0.8387 GB, free: 2.645 MB / 0.5762 GB 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 (13): * Single equations (assignments): 13 * 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.652e-05/0.1759, allocations: 114.5 kB / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.1759, allocations: 11.92 kB / 0.8388 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.1763, allocations: 129.6 kB / 0.8389 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1763, allocations: 4.188 kB / 0.8389 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1763, allocations: 3.938 kB / 0.8389 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1763, allocations: 7.922 kB / 0.8389 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.1769, allocations: 357.5 kB / 0.8393 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1769, allocations: 0 / 0.8393 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.1771, allocations: 27.98 kB / 0.8393 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1771, allocations: 3.938 kB / 0.8393 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1771, allocations: 0 / 0.8393 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.1771, allocations: 4 kB / 0.8393 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1771, allocations: 0 / 0.8393 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.1776, allocations: 247.4 kB / 0.8396 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.1776, allocations: 12.03 kB / 0.8396 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1776, allocations: 0 / 0.8396 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1777, allocations: 11.98 kB / 0.8396 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.1777, allocations: 7.984 kB / 0.8396 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1777, allocations: 4 kB / 0.8396 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.1778, allocations: 79.22 kB / 0.8397 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1778, allocations: 4 kB / 0.8397 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002788/0.1781, allocations: 39.86 kB / 0.8397 GB, free: 1.508 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0009265/0.179, allocations: 0.8176 MB / 0.8405 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.1793, allocations: 82.5 kB / 0.8406 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1793, allocations: 0 / 0.8406 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1795, allocations: 43.92 kB / 0.8406 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1798, allocations: 11.98 kB / 0.8406 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.1821, allocations: 1.609 MB / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.1822, allocations: 79.77 kB / 0.8423 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.1822, allocations: 16.61 kB / 0.8423 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.1823, allocations: 23.42 kB / 0.8423 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.1823, allocations: 0 / 0.8423 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.2065, allocations: 2.553 MB / 0.8448 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.33, allocations: 13.28 kB / 0.8448 GB, free: 12.36 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.444356641964987] Failed to read output from testmodel.py, exit status != 0: 11.49376119300723 11.50858749 11.335506807 Calling exit ...