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.001306/0.001306, allocations: 101.3 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.001387/0.001387, allocations: 222.9 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002465/0.002465, allocations: 291.5 kB / 313.5 MB, free: 2.609 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.207/1.207, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.002814/0.002814, allocations: 99.19 kB / 0.7403 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1644, allocations: 95.38 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002498/0.1669, allocations: 1.263 MB / 0.8346 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.168, allocations: 0.5275 MB / 0.8352 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.168, allocations: 3.938 kB / 0.8352 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.168, allocations: 0 / 0.8352 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.1681, allocations: 3.938 kB / 0.8352 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.1686, allocations: 149.2 kB / 0.8353 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.948e-05/0.1686, allocations: 8 kB / 0.8353 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.1687, allocations: 3.984 kB / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.1687, allocations: 4 kB / 0.8353 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.1687, allocations: 4 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1688, allocations: 0 / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.1692, allocations: 283.5 kB / 0.8356 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.1692, allocations: 3.938 kB / 0.8356 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.1692, allocations: 11.94 kB / 0.8356 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1695, allocations: 123.9 kB / 0.8357 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1695, allocations: 0 / 0.8357 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1695, allocations: 3.938 kB / 0.8357 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1695, allocations: 4 kB / 0.8357 GB, free: 5.953 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.0003879/0.1699, allocations: 278 kB / 0.836 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1699, allocations: 8.75 kB / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.759e-05/0.1699, allocations: 192 / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.17, allocations: 38.69 kB / 0.836 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.17, allocations: 0.9375 kB / 0.836 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1701, allocations: 110.5 kB / 0.8361 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1701, allocations: 384 / 0.8361 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1701, allocations: 8.375 kB / 0.8362 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.764e-05/0.1702, allocations: 38 kB / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1702, allocations: 0 / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1702, allocations: 0 / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1702, allocations: 0 / 0.8362 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.1702, allocations: 4 kB / 0.8362 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.1704, allocations: 124.8 kB / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/0.1705, allocations: 30.44 kB / 0.8363 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.1705, allocations: 12.86 kB / 0.8364 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1705, allocations: 4.062 kB / 0.8364 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1705, allocations: 34.5 kB / 0.8364 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1705, allocations: 0 / 0.8364 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.1707, allocations: 45.62 kB / 0.8364 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1707, allocations: 55.41 kB / 0.8365 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.1708, allocations: 89.86 kB / 0.8366 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1708, allocations: 25.7 kB / 0.8366 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.1708, allocations: 84.14 kB / 0.8367 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1709, allocations: 8.203 kB / 0.8367 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.1709, allocations: 13.72 kB / 0.8367 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.171, allocations: 318.8 kB / 0.837 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.171, allocations: 0 / 0.837 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.032e-05/0.1711, allocations: 7.938 kB / 0.837 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.1711, allocations: 12.86 kB / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1711, allocations: 0 / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.218e-05/0.1712, allocations: 37.64 kB / 0.8371 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1712, allocations: 11.94 kB / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1712, allocations: 96 / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1712, allocations: 7.984 kB / 0.8371 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1713, allocations: 8 kB / 0.8371 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004354/0.1718, allocations: 0.5821 MB / 0.8377 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1718, allocations: 0 / 0.8377 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1718, allocations: 8.016 kB / 0.8377 GB, free: 3.754 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 9.107e-05/0.1719, allocations: 118.4 kB / 0.8378 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-06/0.1719, allocations: 0 / 0.8378 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.172, allocations: 52.98 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.172, allocations: 3.984 kB / 0.8378 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.172, allocations: 4 kB / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.172, allocations: 0 / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.1721, allocations: 124.7 kB / 0.838 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1721, allocations: 4 kB / 0.838 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.961e-05/0.1722, allocations: 11.98 kB / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1722, allocations: 0 / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1722, allocations: 0 / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003877/0.1726, allocations: 0.5898 MB / 0.8385 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1726, allocations: 8.062 kB / 0.8386 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.984e-05/0.1727, allocations: 65.16 kB / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-06/0.1727, allocations: 0 / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.1727, allocations: 0 / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.745e-05/0.1727, allocations: 3.938 kB / 0.8386 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.1727, allocations: 4 kB / 0.8386 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1727, allocations: 0 / 0.8386 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.1728, allocations: 83.27 kB / 0.8387 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1728, allocations: 0 / 0.8387 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001913/0.173, allocations: 8 kB / 0.8387 GB, free: 2.578 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.0004387/0.1734, allocations: 0.6086 MB / 0.8393 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1736, allocations: 27.92 kB / 0.8393 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1736, allocations: 0 / 0.8393 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.1737, allocations: 11.98 kB / 0.8393 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1738, allocations: 7.938 kB / 0.8393 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.1743, allocations: 141.9 kB / 0.8395 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.493e-05/0.1743, allocations: 59.34 kB / 0.8395 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.323e-05/0.1743, allocations: 0 / 0.8395 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.1744, allocations: 7.438 kB / 0.8395 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.1744, allocations: 0 / 0.8395 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.1963, allocations: 1.469 MB / 0.841 GB, free: 360 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.49, allocations: 22.33 kB / 0.841 GB, free: 348 kB / 0.5762 GB " [Timeout remaining time 647] (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.505282687954605] Failed to read output from testmodel.py, exit status != 0: 12.65452733496204 12.670853122 12.498405125 Calling exit ...