Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001283/0.001283, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001439/0.001439, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.809 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.002569/0.002569, allocations: 297.3 kB / 312.7 MB, free: 2.617 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.212/1.212, allocations: 180.6 MB / 0.5369 GB, free: 14.6 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_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.002883/0.002883, allocations: 99.86 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1626, allocations: 95.39 MB / 0.8327 GB, free: 8.348 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002343/0.165, allocations: 1.27 MB / 0.8339 GB, free: 7.062 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.1659, allocations: 0.5197 MB / 0.8344 GB, free: 6.543 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.166, allocations: 3.938 kB / 0.8344 GB, free: 6.539 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.166, allocations: 0 / 0.8344 GB, free: 6.539 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.166, allocations: 4 kB / 0.8344 GB, free: 6.535 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.1666, allocations: 144.5 kB / 0.8345 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.421e-05/0.1666, allocations: 19.91 kB / 0.8346 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1667, allocations: 0 / 0.8346 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.1667, allocations: 4 kB / 0.8346 GB, free: 6.371 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.1667, allocations: 3.938 kB / 0.8346 GB, free: 6.367 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1667, allocations: 0 / 0.8346 GB, free: 6.367 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004519/0.1672, allocations: 275.5 kB / 0.8348 GB, free: 6.098 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1672, allocations: 4 kB / 0.8348 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.425e-05/0.1672, allocations: 0 / 0.8348 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1675, allocations: 135.8 kB / 0.835 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1675, allocations: 0 / 0.835 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1675, allocations: 0 / 0.835 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.1675, allocations: 0 / 0.835 GB, free: 5.961 MB / 0.5763 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.0003693/0.1678, allocations: 278 kB / 0.8352 GB, free: 5.656 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1679, allocations: 8.75 kB / 0.8352 GB, free: 5.648 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.1679, allocations: 30.75 kB / 0.8353 GB, free: 5.609 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.1679, allocations: 0.9375 kB / 0.8353 GB, free: 5.609 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.168, allocations: 114.5 kB / 0.8354 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.168, allocations: 4.375 kB / 0.8354 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.1681, allocations: 384 / 0.8354 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.1681, allocations: 34.2 kB / 0.8354 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1682, allocations: 3.938 kB / 0.8354 GB, free: 5.426 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1682, allocations: 0 / 0.8354 GB, free: 5.426 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1682, allocations: 4 kB / 0.8354 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.432e-05/0.1682, allocations: 0 / 0.8354 GB, free: 5.422 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1684, allocations: 128.7 kB / 0.8355 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 5.787e-05/0.1684, allocations: 22.61 kB / 0.8356 GB, free: 5.223 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.1684, allocations: 12.92 kB / 0.8356 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1685, allocations: 0 / 0.8356 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1685, allocations: 42.44 kB / 0.8356 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1685, allocations: 0 / 0.8356 GB, free: 5.156 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.1686, allocations: 45.62 kB / 0.8357 GB, free: 5.105 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1687, allocations: 55.34 kB / 0.8357 GB, free: 5.039 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.1687, allocations: 93.86 kB / 0.8358 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1688, allocations: 25.7 kB / 0.8358 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.1688, allocations: 80.14 kB / 0.8359 GB, free: 4.824 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1688, allocations: 8.203 kB / 0.8359 GB, free: 4.816 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.1688, allocations: 21.7 kB / 0.8359 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.169, allocations: 310.8 kB / 0.8362 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.169, allocations: 4 kB / 0.8362 GB, free: 4.473 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.169, allocations: 4 kB / 0.8362 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.169, allocations: 16.8 kB / 0.8363 GB, free: 4.449 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.169, allocations: 0 / 0.8363 GB, free: 4.449 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.285e-05/0.1691, allocations: 41.69 kB / 0.8363 GB, free: 4.402 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1691, allocations: 9.969 kB / 0.8363 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1691, allocations: 0 / 0.8363 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1691, allocations: 8.094 kB / 0.8363 GB, free: 4.387 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1693, allocations: 4 kB / 0.8363 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004277/0.1697, allocations: 0.5899 MB / 0.8369 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.1697, allocations: 0 / 0.8369 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1697, allocations: 0 / 0.8369 GB, free: 3.77 MB / 0.5763 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.595e-05/0.1698, allocations: 114.5 kB / 0.837 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-06/0.1698, allocations: 0 / 0.837 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.1699, allocations: 49.03 kB / 0.837 GB, free: 3.59 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1699, allocations: 4.031 kB / 0.8371 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1699, allocations: 0 / 0.8371 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.1699, allocations: 0 / 0.8371 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.17, allocations: 124.7 kB / 0.8372 GB, free: 3.422 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.17, allocations: 4 kB / 0.8372 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.1701, allocations: 19.91 kB / 0.8372 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1701, allocations: 0 / 0.8372 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1701, allocations: 0 / 0.8372 GB, free: 3.398 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003668/0.1705, allocations: 0.586 MB / 0.8378 GB, free: 2.789 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1705, allocations: 4.031 kB / 0.8378 GB, free: 2.785 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.088e-05/0.1706, allocations: 65.16 kB / 0.8378 GB, free: 2.703 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-06/0.1706, allocations: 7.938 kB / 0.8378 GB, free: 2.695 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.1706, allocations: 3.938 kB / 0.8378 GB, free: 2.691 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.1706, allocations: 4 kB / 0.8378 GB, free: 2.688 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.1706, allocations: 7.922 kB / 0.8379 GB, free: 2.68 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1706, allocations: 7.938 kB / 0.8379 GB, free: 2.672 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.1707, allocations: 75.28 kB / 0.8379 GB, free: 2.598 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1707, allocations: 0 / 0.8379 GB, free: 2.598 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001936/0.1709, allocations: 8 kB / 0.8379 GB, free: 2.59 MB / 0.5763 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.0004545/0.1713, allocations: 0.6086 MB / 0.8385 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.1715, allocations: 23.92 kB / 0.8386 GB, free: 1.926 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1715, allocations: 0 / 0.8386 GB, free: 1.926 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.1716, allocations: 15.98 kB / 0.8386 GB, free: 1.91 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.1717, allocations: 4.75 kB / 0.8386 GB, free: 1.906 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.1722, allocations: 138.6 kB / 0.8387 GB, free: 1.734 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/0.1722, allocations: 59.34 kB / 0.8388 GB, free: 1.656 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 1.505e-05/0.1723, allocations: 0 / 0.8388 GB, free: 1.656 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.1723, allocations: 11.44 kB / 0.8388 GB, free: 1.645 MB / 0.5763 GB Notification: Performance of SimCode: time 5.51e-07/0.1723, allocations: 0 / 0.8388 GB, free: 1.645 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.2009, allocations: 1.818 MB / 0.8406 GB, free: 4 kB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.04, allocations: 8.047 kB / 0.8406 GB, free: 0 / 0.5763 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.05811413237825] Failed to read output from testmodel.py, exit status != 0: 12.154429784044623 12.172448732 12.001669631 Calling exit ...