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.001417/0.001417, 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.001526/0.001526, allocations: 209.5 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.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.002434/0.002434, allocations: 288.4 kB / 309.8 MB, free: 3.426 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.036/1.036, allocations: 180.6 MB / 0.5338 GB, free: 12.81 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.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.002853/0.002853, allocations: 95.86 kB / 0.7347 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4927, allocations: 95.34 MB / 0.8278 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00216/0.4948, allocations: 1.301 MB / 0.829 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.4956, allocations: 0.6078 MB / 0.8296 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.4956, allocations: 0 / 0.8296 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.4957, allocations: 0.5625 kB / 0.8296 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.753e-05/0.4957, allocations: 7.703 kB / 0.8296 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.4962, allocations: 152.2 kB / 0.8298 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.568e-05/0.4962, allocations: 21.91 kB / 0.8298 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.4963, allocations: 1.766 kB / 0.8298 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.4963, allocations: 11.67 kB / 0.8298 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.4964, allocations: 4.703 kB / 0.8298 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.4964, allocations: 1.344 kB / 0.8298 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.4969, allocations: 345.4 kB / 0.8302 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.4969, allocations: 5.922 kB / 0.8302 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.4969, allocations: 7.984 kB / 0.8302 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.4971, allocations: 148.6 kB / 0.8303 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4971, allocations: 3.422 kB / 0.8303 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4971, allocations: 0 / 0.8303 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4972, allocations: 4 kB / 0.8303 GB, free: 1.477 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000362/0.4975, allocations: 355.8 kB / 0.8307 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.4976, allocations: 9.188 kB / 0.8307 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.069e-05/0.4976, allocations: 1.5 kB / 0.8307 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.881e-05/0.4976, allocations: 33.28 kB / 0.8307 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.4976, allocations: 8.891 kB / 0.8307 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.865e-05/0.4977, allocations: 173.5 kB / 0.8309 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4977, allocations: 384 / 0.8309 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.4977, allocations: 7.25 kB / 0.8309 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.4978, allocations: 42.97 kB / 0.8309 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4978, allocations: 3.938 kB / 0.8309 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4979, allocations: 0.6562 kB / 0.8309 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4979, allocations: 2.594 kB / 0.8309 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.4979, allocations: 14.53 kB / 0.8309 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.4982, allocations: 253.5 kB / 0.8312 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.4984, allocations: 53.08 kB / 0.8312 GB, free: 492 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.4984, allocations: 16.98 kB / 0.8313 GB, free: 480 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4984, allocations: 0.7031 kB / 0.8313 GB, free: 480 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.4985, allocations: 33.16 kB / 0.8313 GB, free: 440 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4985, allocations: 0 / 0.8313 GB, free: 440 kB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.4986, allocations: 58.47 kB / 0.8313 GB, free: 396 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4987, allocations: 58.92 kB / 0.8314 GB, free: 328 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.4987, allocations: 99.41 kB / 0.8315 GB, free: 224 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.4987, allocations: 29.7 kB / 0.8315 GB, free: 188 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.4987, allocations: 84.7 kB / 0.8316 GB, free: 100 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.4988, allocations: 10.23 kB / 0.8316 GB, free: 92 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.4988, allocations: 20.12 kB / 0.8316 GB, free: 72 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4989, allocations: 311.6 kB / 0.8319 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.499, allocations: 11.61 kB / 0.8319 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.499, allocations: 25.39 kB / 0.832 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.585e-05/0.4991, allocations: 31.94 kB / 0.832 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4991, allocations: 1.25 kB / 0.832 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.4992, allocations: 59.7 kB / 0.8321 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4992, allocations: 7.906 kB / 0.8321 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4992, allocations: 0.7031 kB / 0.8321 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4992, allocations: 2.969 kB / 0.8321 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.4992, allocations: 6.109 kB / 0.8321 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4992, allocations: 7.641 kB / 0.8321 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.4993, allocations: 7.938 kB / 0.8321 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.4993, allocations: 7.266 kB / 0.8321 GB, free: 15.64 MB / 0.5919 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 9.336e-05/0.4994, allocations: 122.5 kB / 0.8322 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.4994, allocations: 5.172 kB / 0.8322 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.4996, allocations: 59.67 kB / 0.8323 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4996, allocations: 0 / 0.8323 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4996, allocations: 0 / 0.8323 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4996, allocations: 6.266 kB / 0.8323 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.4998, allocations: 163.8 kB / 0.8324 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4998, allocations: 0 / 0.8324 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.4998, allocations: 5.812 kB / 0.8324 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4998, allocations: 4.781 kB / 0.8324 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.4998, allocations: 0 / 0.8324 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4998, allocations: 1.281 kB / 0.8324 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4998, allocations: 0.75 kB / 0.8324 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.5, allocations: 152.9 kB / 0.8326 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.5, allocations: 81.81 kB / 0.8327 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.5, allocations: 0.8906 kB / 0.8327 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.966e-05/0.5001, allocations: 3.453 kB / 0.8327 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.5001, allocations: 1.219 kB / 0.8327 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.5001, allocations: 3.188 kB / 0.8327 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.5001, allocations: 84.11 kB / 0.8328 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.5001, allocations: 0 / 0.8328 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002587/0.5004, allocations: 23.34 kB / 0.8328 GB, free: 14.93 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 (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.0005562/0.5009, allocations: 0.7105 MB / 0.8335 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.501, allocations: 19.27 kB / 0.8335 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.501, allocations: 2.719 kB / 0.8335 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/0.5011, allocations: 15.22 kB / 0.8335 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.5013, allocations: 2.75 kB / 0.8335 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.5018, allocations: 157.4 kB / 0.8337 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5021, allocations: 0.6755 MB / 0.8343 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.5021, allocations: 3.594 kB / 0.8343 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.5021, allocations: 10.67 kB / 0.8343 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.5021, allocations: 0 / 0.8343 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.5205, allocations: 1.47 MB / 0.8358 GB, free: 13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/9.008, allocations: 13.42 kB / 0.8358 GB, free: 12.99 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.83275003999006] Failed to read output from testmodel.py, exit status != 0: 9.130376059969421 9.145126843 8.645065329 Calling exit ...