Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001297/0.001297, 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.00144/0.00144, allocations: 219.5 kB / 22.25 MB, free: 4.852 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.812 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.00326/0.00326, allocations: 289 kB / 312.7 MB, free: 2.727 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.183/1.183, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.002933/0.002933, allocations: 96.19 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1699, allocations: 95.4 MB / 0.8326 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002565/0.1725, allocations: 1.27 MB / 0.8339 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1735, allocations: 0.5236 MB / 0.8344 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.1735, allocations: 0 / 0.8344 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.1736, allocations: 3.984 kB / 0.8344 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.1736, allocations: 4 kB / 0.8344 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006377/0.1742, allocations: 135.4 kB / 0.8345 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.1743, allocations: 15.92 kB / 0.8346 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.1743, allocations: 0 / 0.8346 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.191e-05/0.1744, allocations: 7.938 kB / 0.8346 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.1744, allocations: 7.984 kB / 0.8346 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1744, allocations: 0 / 0.8346 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.1749, allocations: 267.5 kB / 0.8348 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.1749, allocations: 4 kB / 0.8348 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.1749, allocations: 3.938 kB / 0.8348 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1752, allocations: 135.9 kB / 0.835 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1752, allocations: 0 / 0.835 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1752, allocations: 0 / 0.835 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.1752, allocations: 4 kB / 0.835 GB, free: 6.004 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.0004203/0.1757, allocations: 274 kB / 0.8352 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1757, allocations: 8.75 kB / 0.8352 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.1757, allocations: 34.75 kB / 0.8353 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.1758, allocations: 8.875 kB / 0.8353 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1759, allocations: 106.5 kB / 0.8354 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1759, allocations: 4.375 kB / 0.8354 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1759, allocations: 384 / 0.8354 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1761, allocations: 34.2 kB / 0.8354 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1761, allocations: 3.938 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1761, allocations: 0 / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1761, allocations: 4 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.1761, allocations: 4 kB / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1763, allocations: 128.6 kB / 0.8355 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.553e-05/0.1764, allocations: 22.67 kB / 0.8356 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.1764, allocations: 12.86 kB / 0.8356 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1764, allocations: 0 / 0.8356 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1764, allocations: 38.5 kB / 0.8356 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1764, allocations: 0 / 0.8356 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.1766, allocations: 45.62 kB / 0.8357 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1766, allocations: 51.41 kB / 0.8357 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.1767, allocations: 93.86 kB / 0.8358 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1767, allocations: 29.7 kB / 0.8358 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.1768, allocations: 80.14 kB / 0.8359 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1768, allocations: 12.19 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.1768, allocations: 13.72 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.177, allocations: 310.8 kB / 0.8362 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.177, allocations: 8 kB / 0.8362 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.177, allocations: 4 kB / 0.8362 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.177, allocations: 12.8 kB / 0.8362 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.177, allocations: 0 / 0.8362 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.834e-05/0.1771, allocations: 41.69 kB / 0.8363 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1771, allocations: 7.938 kB / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1771, allocations: 0 / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1771, allocations: 8.094 kB / 0.8363 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1773, allocations: 8 kB / 0.8363 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/0.1777, allocations: 0.586 MB / 0.8369 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.1777, allocations: 0 / 0.8369 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.1777, allocations: 0 / 0.8369 GB, free: 3.816 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.1778, allocations: 114.5 kB / 0.837 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.1779, allocations: 7.938 kB / 0.837 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.178, allocations: 49.03 kB / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.178, allocations: 4.031 kB / 0.8371 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.178, allocations: 0 / 0.8371 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.178, allocations: 0 / 0.8371 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.1781, allocations: 120.7 kB / 0.8372 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.1781, allocations: 7.984 kB / 0.8372 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.1782, allocations: 11.94 kB / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1782, allocations: 0 / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.1782, allocations: 0 / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003441/0.1785, allocations: 0.5898 MB / 0.8378 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.1785, allocations: 12.02 kB / 0.8378 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.838e-05/0.1786, allocations: 69.09 kB / 0.8378 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.1786, allocations: 4 kB / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.1786, allocations: 0 / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.1786, allocations: 0 / 0.8378 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.1787, allocations: 7.922 kB / 0.8379 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1787, allocations: 4 kB / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.1787, allocations: 75.28 kB / 0.8379 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1787, allocations: 0 / 0.8379 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002/0.1789, allocations: 8 kB / 0.8379 GB, free: 2.637 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004396/0.1793, allocations: 0.6125 MB / 0.8385 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1795, allocations: 15.94 kB / 0.8385 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1795, allocations: 4 kB / 0.8386 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.1796, allocations: 11.98 kB / 0.8386 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1797, allocations: 3.938 kB / 0.8386 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.1802, allocations: 138.3 kB / 0.8387 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.302e-05/0.1803, allocations: 63.28 kB / 0.8388 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.601e-05/0.1803, allocations: 0 / 0.8388 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.1803, allocations: 15.44 kB / 0.8388 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1803, allocations: 0 / 0.8388 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.2098, allocations: 1.81 MB / 0.8405 GB, free: 56 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.14, allocations: 19.56 kB / 0.8406 GB, free: 44 kB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.169845886994153] Failed to read output from testmodel.py, exit status != 0: 12.2469174657017 12.262534995 12.08435195 Calling exit ...