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.001474/0.001474, allocations: 116.1 kB / 17.17 MB, free: 6 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.002087/0.002087, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.464/1.464, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002505/0.002505, allocations: 282.3 kB / 309.8 MB, free: 3.496 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.092/1.092, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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="cs",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="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.002785/0.002785, allocations: 101.4 kB / 0.7347 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5392, allocations: 95.33 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002267/0.5415, allocations: 1.287 MB / 0.829 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008731/0.5423, allocations: 0.593 MB / 0.8296 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.5424, allocations: 0 / 0.8296 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.5424, allocations: 3.375 kB / 0.8296 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.5424, allocations: 7.922 kB / 0.8296 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.5429, allocations: 141.2 kB / 0.8297 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.543, allocations: 13.64 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.543, allocations: 1.938 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.5431, allocations: 4.25 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.5431, allocations: 1.5 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.5431, allocations: 2.75 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.5436, allocations: 348.6 kB / 0.8301 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.5436, allocations: 0.7031 kB / 0.8301 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.5437, allocations: 6.719 kB / 0.8301 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.5439, allocations: 145.1 kB / 0.8302 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5439, allocations: 0 / 0.8302 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5439, allocations: 4 kB / 0.8303 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.5439, allocations: 0 / 0.8303 GB, free: 1.484 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.0003679/0.5443, allocations: 350.9 kB / 0.8306 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5443, allocations: 14.53 kB / 0.8306 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.31e-05/0.5444, allocations: 192 / 0.8306 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.765e-05/0.5444, allocations: 30.75 kB / 0.8306 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.5444, allocations: 4.188 kB / 0.8306 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/0.5445, allocations: 165 kB / 0.8308 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-06/0.5445, allocations: 8.312 kB / 0.8308 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.5445, allocations: 5.469 kB / 0.8308 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.304e-05/0.5446, allocations: 35.52 kB / 0.8308 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5446, allocations: 0 / 0.8308 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.5446, allocations: 0 / 0.8308 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5446, allocations: 3.359 kB / 0.8308 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.5446, allocations: 1.859 kB / 0.8308 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.5447, allocations: 155.5 kB / 0.831 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.5448, allocations: 26.97 kB / 0.831 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.5448, allocations: 13.59 kB / 0.831 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.5448, allocations: 0 / 0.831 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.5448, allocations: 35.06 kB / 0.8311 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.5448, allocations: 1.188 kB / 0.8311 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.545, allocations: 37.28 kB / 0.8311 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.545, allocations: 55.41 kB / 0.8312 GB, free: 452 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.545, allocations: 101.6 kB / 0.8312 GB, free: 344 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.5451, allocations: 27.17 kB / 0.8313 GB, free: 312 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.288e-05/0.5451, allocations: 80.8 kB / 0.8314 GB, free: 228 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.5451, allocations: 7.453 kB / 0.8314 GB, free: 224 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.5451, allocations: 18.27 kB / 0.8314 GB, free: 200 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.5452, allocations: 312.9 kB / 0.8317 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.5452, allocations: 2 kB / 0.8317 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.5452, allocations: 3.281 kB / 0.8317 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.5453, allocations: 19.25 kB / 0.8317 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5453, allocations: 0 / 0.8317 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.226e-05/0.5453, allocations: 36.88 kB / 0.8317 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5453, allocations: 8.688 kB / 0.8317 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5454, allocations: 0 / 0.8317 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5454, allocations: 3.984 kB / 0.8317 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.5455, allocations: 10.77 kB / 0.8318 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003862/0.5459, allocations: 0.5905 MB / 0.8323 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.5459, allocations: 2.047 kB / 0.8323 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.5459, allocations: 0 / 0.8323 GB, free: 15.23 MB / 0.5919 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.441e-05/0.546, allocations: 117.7 kB / 0.8324 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.546, allocations: 0.5156 kB / 0.8324 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.5461, allocations: 51.7 kB / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5461, allocations: 4.828 kB / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.5461, allocations: 0 / 0.8325 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.5461, allocations: 5.469 kB / 0.8325 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5463, allocations: 160.8 kB / 0.8327 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5463, allocations: 0 / 0.8327 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.5463, allocations: 9.875 kB / 0.8327 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5463, allocations: 0 / 0.8327 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.5463, allocations: 0.75 kB / 0.8327 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003461/0.5467, allocations: 0.5877 MB / 0.8332 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5467, allocations: 0.7969 kB / 0.8332 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.481e-05/0.5468, allocations: 64.3 kB / 0.8333 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.5468, allocations: 77.91 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.5468, allocations: 2.109 kB / 0.8334 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.795e-05/0.5468, allocations: 3.938 kB / 0.8334 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.5469, allocations: 6.156 kB / 0.8334 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.5469, allocations: 7.031 kB / 0.8334 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.5469, allocations: 76.17 kB / 0.8335 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5469, allocations: 0 / 0.8335 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002029/0.5471, allocations: 14.03 kB / 0.8335 GB, free: 14.01 MB / 0.5919 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.0004544/0.5476, allocations: 0.6148 MB / 0.8341 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.5477, allocations: 14.77 kB / 0.8341 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5477, allocations: 0 / 0.8341 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.5478, allocations: 17.19 kB / 0.8341 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.548, allocations: 5.281 kB / 0.8341 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.5485, allocations: 134.6 kB / 0.8342 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5487, allocations: 0.6754 MB / 0.8349 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.672e-05/0.5487, allocations: 3.938 kB / 0.8349 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.5488, allocations: 8.094 kB / 0.8349 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.5488, allocations: 0 / 0.8349 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.5687, allocations: 1.468 MB / 0.8364 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.37, allocations: 7.5 kB / 0.8364 GB, free: 12.18 MB / 0.5919 GB " [Timeout remaining time 647] (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.339899873011746] Failed to read output from testmodel.py, exit status != 0: 12.520149195974227 12.53807628 11.991540916 Calling exit ...