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.001217/0.001217, allocations: 113.5 kB / 19.73 MB, free: 2.238 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.001384/0.001384, allocations: 217.7 kB / 23.04 MB, free: 5.078 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.002626/0.002626, allocations: 291.9 kB / 313.5 MB, free: 2.828 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.209/1.209, allocations: 180.6 MB / 0.5377 GB, free: 13.11 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.003165/0.003165, allocations: 98.55 kB / 0.7403 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1557, allocations: 95.39 MB / 0.8335 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002359/0.1581, allocations: 1.27 MB / 0.8347 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1591, allocations: 0.6013 MB / 0.8353 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.1591, allocations: 4 kB / 0.8353 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.1591, allocations: 0 / 0.8353 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.1592, allocations: 0 / 0.8353 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.1597, allocations: 151.4 kB / 0.8355 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.513e-05/0.1597, allocations: 11.92 kB / 0.8355 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.1597, allocations: 0 / 0.8355 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.1598, allocations: 4 kB / 0.8355 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.1598, allocations: 3.938 kB / 0.8355 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.425e-06/0.1598, allocations: 4 kB / 0.8355 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000517/0.1603, allocations: 347.3 kB / 0.8358 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.1603, allocations: 0 / 0.8358 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.1604, allocations: 4 kB / 0.8358 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1606, allocations: 147.8 kB / 0.836 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1606, allocations: 0 / 0.836 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1606, allocations: 0 / 0.836 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1606, allocations: 0 / 0.836 GB, free: 6.16 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.0003649/0.161, allocations: 278 kB / 0.8362 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.161, allocations: 8.75 kB / 0.8362 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.115e-05/0.161, allocations: 192 / 0.8362 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.1611, allocations: 34.75 kB / 0.8363 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.912e-05/0.1611, allocations: 4.938 kB / 0.8363 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.1612, allocations: 106.5 kB / 0.8364 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.1612, allocations: 4.375 kB / 0.8364 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1612, allocations: 384 / 0.8364 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.1613, allocations: 41.95 kB / 0.8364 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1613, allocations: 0 / 0.8364 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1613, allocations: 0 / 0.8364 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1613, allocations: 0 / 0.8364 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.1613, allocations: 7.984 kB / 0.8364 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.1615, allocations: 128.7 kB / 0.8366 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.1615, allocations: 26.55 kB / 0.8366 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.1615, allocations: 4.859 kB / 0.8366 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1616, allocations: 0 / 0.8366 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1616, allocations: 46.5 kB / 0.8366 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1616, allocations: 3.938 kB / 0.8366 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.00014/0.1617, allocations: 41.78 kB / 0.8367 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1618, allocations: 51.41 kB / 0.8367 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.1618, allocations: 97.86 kB / 0.8368 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1619, allocations: 25.7 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.1619, allocations: 80.14 kB / 0.8369 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1619, allocations: 7.938 kB / 0.8369 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.162, allocations: 17.72 kB / 0.8369 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1621, allocations: 311 kB / 0.8372 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.1621, allocations: 8 kB / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.1621, allocations: 0 / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.1622, allocations: 16.8 kB / 0.8373 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1622, allocations: 4 kB / 0.8373 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.21e-05/0.1622, allocations: 37.69 kB / 0.8373 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1622, allocations: 7.938 kB / 0.8373 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1623, allocations: 0 / 0.8373 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1623, allocations: 0 / 0.8373 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1624, allocations: 16.08 kB / 0.8373 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004099/0.1628, allocations: 0.5821 MB / 0.8379 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1628, allocations: 4 kB / 0.8379 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1629, allocations: 8.031 kB / 0.8379 GB, free: 3.957 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 8.888e-05/0.1629, allocations: 110.4 kB / 0.838 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.1629, allocations: 96 / 0.838 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1631, allocations: 52.94 kB / 0.8381 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1631, allocations: 0 / 0.8381 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1631, allocations: 4 kB / 0.8381 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1631, allocations: 0 / 0.8381 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.1632, allocations: 128.6 kB / 0.8382 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1632, allocations: 4 kB / 0.8382 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.1633, allocations: 8 kB / 0.8382 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1633, allocations: 7.938 kB / 0.8382 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1633, allocations: 0 / 0.8382 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000353/0.1636, allocations: 0.5937 MB / 0.8388 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1636, allocations: 0 / 0.8388 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.089e-05/0.1637, allocations: 57.17 kB / 0.8388 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.1637, allocations: 4 kB / 0.8388 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1637, allocations: 4.109 kB / 0.8388 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.695e-05/0.1637, allocations: 15.81 kB / 0.8389 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.1638, allocations: 0 / 0.8389 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.1638, allocations: 0 / 0.8389 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.731e-05/0.1638, allocations: 79.28 kB / 0.8389 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1638, allocations: 0 / 0.8389 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001949/0.164, allocations: 8 kB / 0.8389 GB, free: 2.785 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.0004155/0.1644, allocations: 0.6125 MB / 0.8395 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.1646, allocations: 19.92 kB / 0.8396 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1646, allocations: 0 / 0.8396 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.1647, allocations: 12 kB / 0.8396 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.1648, allocations: 11.92 kB / 0.8396 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.1652, allocations: 138.3 kB / 0.8397 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1656, allocations: 0.6729 MB / 0.8404 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.1656, allocations: 0 / 0.8404 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.1656, allocations: 7.438 kB / 0.8404 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of SimCode: time 6.22e-07/0.1656, allocations: 0 / 0.8404 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.1875, allocations: 1.43 MB / 0.8418 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.42, allocations: 6.203 kB / 0.8418 GB, free: 15.98 MB / 0.5919 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.551041853032075] Failed to read output from testmodel.py, exit status != 0: 12.58447946596425 12.598820737 12.435233446 Calling exit ...