Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.00128/0.00128, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001416/0.001416, allocations: 217 kB / 22.24 MB, free: 4.855 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 8.008 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.002414/0.002414, allocations: 279.9 kB / 312.7 MB, free: 2.645 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.166/1.166, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",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.002838/0.002838, allocations: 99.64 kB / 0.7395 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1697, allocations: 95.39 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002488/0.1721, allocations: 1.302 MB / 0.8339 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1732, allocations: 0.5388 MB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.1732, allocations: 0 / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.1732, allocations: 11.92 kB / 0.8345 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.1733, allocations: 3.938 kB / 0.8345 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.1738, allocations: 156.2 kB / 0.8346 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.692e-05/0.1739, allocations: 23.92 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.1739, allocations: 4 kB / 0.8346 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.523e-05/0.174, allocations: 15.98 kB / 0.8347 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.174, allocations: 15.91 kB / 0.8347 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.174, allocations: 0 / 0.8347 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.1745, allocations: 271.5 kB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.1745, allocations: 15.91 kB / 0.8349 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.1745, allocations: 8 kB / 0.8349 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1748, allocations: 139.8 kB / 0.8351 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1748, allocations: 4 kB / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1748, allocations: 0 / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1748, allocations: 3.938 kB / 0.8351 GB, free: 5.809 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004182/0.1752, allocations: 290 kB / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1752, allocations: 8.75 kB / 0.8354 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.1753, allocations: 42.67 kB / 0.8354 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.1753, allocations: 12.89 kB / 0.8354 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1754, allocations: 110.5 kB / 0.8355 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1754, allocations: 4.359 kB / 0.8355 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1754, allocations: 8.375 kB / 0.8355 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1756, allocations: 97.66 kB / 0.8356 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1756, allocations: 3.938 kB / 0.8356 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1756, allocations: 3.984 kB / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1756, allocations: 0 / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.1757, allocations: 23.92 kB / 0.8357 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.1758, allocations: 132.8 kB / 0.8358 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.176, allocations: 58.56 kB / 0.8359 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.176, allocations: 28.84 kB / 0.8359 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.176, allocations: 0 / 0.8359 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1761, allocations: 34.56 kB / 0.8359 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.1761, allocations: 0 / 0.8359 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.00106/0.1771, allocations: 451.7 kB / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.1772, allocations: 59.34 kB / 0.8364 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/0.1772, allocations: 97.86 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1773, allocations: 33.69 kB / 0.8365 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.1773, allocations: 84.14 kB / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.1773, allocations: 35.66 kB / 0.8366 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.1774, allocations: 29.7 kB / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1775, allocations: 314.8 kB / 0.837 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.1776, allocations: 27.98 kB / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.1776, allocations: 19.98 kB / 0.837 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.338e-05/0.1777, allocations: 58.98 kB / 0.8371 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1777, allocations: 0 / 0.8371 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001463/0.1778, allocations: 97.73 kB / 0.8372 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1778, allocations: 15.94 kB / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.1778, allocations: 0 / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1779, allocations: 0 / 0.8372 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.178, allocations: 20.09 kB / 0.8372 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.178, allocations: 7.922 kB / 0.8372 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.178, allocations: 0 / 0.8372 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.178, allocations: 4 kB / 0.8372 GB, free: 3.383 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 7.942e-05/0.1781, allocations: 114.4 kB / 0.8373 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.1781, allocations: 11.89 kB / 0.8373 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.1783, allocations: 105.7 kB / 0.8374 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1783, allocations: 4 kB / 0.8374 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1783, allocations: 3.984 kB / 0.8374 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1783, allocations: 0 / 0.8374 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.1787, allocations: 325.7 kB / 0.8377 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1787, allocations: 0 / 0.8377 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1788, allocations: 19.98 kB / 0.8378 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1788, allocations: 0 / 0.8378 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1788, allocations: 8 kB / 0.8378 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1788, allocations: 0 / 0.8378 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1788, allocations: 0 / 0.8378 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1791, allocations: 225.4 kB / 0.838 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.1791, allocations: 11.89 kB / 0.838 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1791, allocations: 7.969 kB / 0.838 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.1792, allocations: 0 / 0.838 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.1792, allocations: 15.97 kB / 0.838 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1792, allocations: 4 kB / 0.838 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.1792, allocations: 75.28 kB / 0.8381 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1792, allocations: 0 / 0.8381 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002531/0.1795, allocations: 39.86 kB / 0.8381 GB, free: 2.348 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0006094/0.1801, allocations: 0.7828 MB / 0.8389 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1802, allocations: 55.86 kB / 0.839 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.1802, allocations: 8 kB / 0.839 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.1803, allocations: 27.92 kB / 0.839 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1805, allocations: 8 kB / 0.839 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.182, allocations: 1.494 MB / 0.8405 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.164e-05/0.182, allocations: 71.41 kB / 0.8405 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.1821, allocations: 11.98 kB / 0.8405 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.1821, allocations: 19.38 kB / 0.8406 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.1821, allocations: 0 / 0.8406 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.2139, allocations: 2.575 MB / 0.8431 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11, allocations: 4.562 kB / 0.8431 GB, free: 13.35 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.913257892243564] Failed to read output from testmodel.py, exit status != 0: 11.110186430159956 11.13783284 10.958117871 Calling exit ...