Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0007638/0.0007638, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0007478/0.0007478, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8463/0.8463, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001428/0.001428, allocations: 226 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6606/0.6606, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 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.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.351e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001962/0.001986, allocations: 1.299 MB / 0.6475 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007274/0.002713, allocations: 0.537 MB / 0.6481 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.002741, allocations: 0 / 0.6481 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.002763, allocations: 3.938 kB / 0.6481 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.002805, allocations: 0 / 0.6481 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2154/0.2182, allocations: 147.6 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.2183, allocations: 22.11 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.2183, allocations: 6.219 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.2184, allocations: 9.375 kB / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.2184, allocations: 9.391 kB / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2184, allocations: 0.625 kB / 0.6483 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.2188, allocations: 268.9 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.2188, allocations: 4.656 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.2188, allocations: 7.75 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.219, allocations: 160.8 kB / 0.6487 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.219, allocations: 1.578 kB / 0.6487 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.442e-06/0.219, allocations: 1.406 kB / 0.6487 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.219, allocations: 0 / 0.6487 GB, free: 55.84 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003152/0.2193, allocations: 281.4 kB / 0.649 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2194, allocations: 12.39 kB / 0.649 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.277e-05/0.2194, allocations: 34.38 kB / 0.649 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.2194, allocations: 4.219 kB / 0.649 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.604e-05/0.2195, allocations: 108 kB / 0.6491 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2195, allocations: 1.344 kB / 0.6491 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2195, allocations: 4.844 kB / 0.6491 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.2196, allocations: 44.02 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2196, allocations: 4.781 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.2196, allocations: 2.375 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2196, allocations: 5 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.2197, allocations: 14.44 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.2199, allocations: 226.6 kB / 0.6494 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.2201, allocations: 51.23 kB / 0.6494 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.2201, allocations: 12.67 kB / 0.6495 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2201, allocations: 2.391 kB / 0.6495 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.2201, allocations: 39.58 kB / 0.6495 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.2201, allocations: 0 / 0.6495 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001376/0.2203, allocations: 59.25 kB / 0.6496 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.2203, allocations: 53.19 kB / 0.6496 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.911e-05/0.2203, allocations: 101.3 kB / 0.6497 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-06/0.2203, allocations: 29.77 kB / 0.6497 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.2203, allocations: 87.2 kB / 0.6498 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/0.2203, allocations: 10.28 kB / 0.6498 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.2204, allocations: 18.52 kB / 0.6498 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.622e-05/0.2204, allocations: 315.3 kB / 0.6501 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.2204, allocations: 9.016 kB / 0.6502 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.2204, allocations: 20.67 kB / 0.6502 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.2205, allocations: 33.69 kB / 0.6502 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2205, allocations: 1.094 kB / 0.6502 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.185e-05/0.2205, allocations: 60.03 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2206, allocations: 9.469 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2206, allocations: 1.094 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2206, allocations: 1.812 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.2206, allocations: 8.219 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2206, allocations: 3.469 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.2206, allocations: 5.359 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.2206, allocations: 2.844 kB / 0.6503 GB, free: 54.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.2207, allocations: 114.6 kB / 0.6504 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.2207, allocations: 6.062 kB / 0.6504 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.2208, allocations: 64.23 kB / 0.6505 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2208, allocations: 0.6094 kB / 0.6505 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2208, allocations: 2.25 kB / 0.6505 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2208, allocations: 0.7031 kB / 0.6505 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.646e-05/0.2209, allocations: 134.1 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2209, allocations: 1.406 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.2209, allocations: 10.3 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2209, allocations: 3.938 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2209, allocations: 1.656 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2209, allocations: 3.438 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2209, allocations: 2.406 kB / 0.6506 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.353e-05/0.221, allocations: 141.7 kB / 0.6508 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.221, allocations: 13.59 kB / 0.6508 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.221, allocations: 3.312 kB / 0.6508 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.558e-05/0.221, allocations: 4.219 kB / 0.6508 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.221, allocations: 3.609 kB / 0.6508 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.221, allocations: 2.406 kB / 0.6508 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.495e-05/0.221, allocations: 83.55 kB / 0.6509 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.221, allocations: 1.969 kB / 0.6509 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001665/0.2212, allocations: 20 kB / 0.6509 GB, free: 53.8 MB / 0.5573 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/0.2215, allocations: 0.7051 MB / 0.6516 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.2216, allocations: 21.55 kB / 0.6516 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2216, allocations: 1.781 kB / 0.6516 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.2216, allocations: 12.7 kB / 0.6516 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.2217, allocations: 4.797 kB / 0.6516 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.2221, allocations: 147.6 kB / 0.6518 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.2221, allocations: 62.23 kB / 0.6518 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.2222, allocations: 4.453 kB / 0.6518 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.2222, allocations: 13.45 kB / 0.6518 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/0.2222, allocations: 1.156 kB / 0.6518 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.236, allocations: 2.047 MB / 0.6538 GB, free: 52.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.309/6.545, allocations: 6.984 kB / 0.6538 GB, free: 52.15 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.011693151667714] Failed to read output from testmodel.py, exit status != 0: 6.621954771690071 6.631548515 6.410307477 Calling exit ...