Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001688/0.001688, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002132/0.002132, allocations: 210.6 kB / 23.78 MB, free: 4.555 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.628/1.628, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.038/1.038, allocations: 150 MB / 464 MB, free: 10.28 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002052/0.002052, allocations: 70.73 kB / 0.642 GB, free: 9.941 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2067, allocations: 89.17 MB / 0.729 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002681/0.2094, allocations: 1.278 MB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2105, allocations: 0.5216 MB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.2105, allocations: 0 / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.2105, allocations: 3.938 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.2106, allocations: 7.984 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.2112, allocations: 143.4 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.2113, allocations: 19.88 kB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.2113, allocations: 7.938 kB / 0.731 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.2113, allocations: 7.984 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.2114, allocations: 15.86 kB / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.2114, allocations: 0 / 0.731 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.2119, allocations: 283.5 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2119, allocations: 0 / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.2119, allocations: 15.98 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.2122, allocations: 139.8 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2122, allocations: 0 / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2122, allocations: 0 / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2122, allocations: 0 / 0.7314 GB, free: 14.4 MB / 0.5606 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.0004657/0.2127, allocations: 288 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.2127, allocations: 15.97 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.025e-05/0.2127, allocations: 192 / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2128, allocations: 30.75 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.2128, allocations: 4.922 kB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2129, allocations: 118.5 kB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2129, allocations: 384 / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.2129, allocations: 11.94 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.2131, allocations: 41.69 kB / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2131, allocations: 0 / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2131, allocations: 0 / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2131, allocations: 7.938 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.117e-05/0.2131, allocations: 12 kB / 0.7319 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.2135, allocations: 220 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.2137, allocations: 46.69 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.2138, allocations: 20.86 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.2138, allocations: 0 / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2138, allocations: 38.48 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2138, allocations: 0 / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001852/0.214, allocations: 61.64 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.214, allocations: 51.41 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.2141, allocations: 93.86 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2141, allocations: 25.7 kB / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.2142, allocations: 88.14 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.2142, allocations: 11.89 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.2143, allocations: 21.72 kB / 0.7326 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2144, allocations: 314.8 kB / 0.7329 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.2144, allocations: 15.98 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.2145, allocations: 17.66 kB / 0.7329 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.2145, allocations: 29.72 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2145, allocations: 0 / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001091/0.2146, allocations: 65.58 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2146, allocations: 7.938 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2146, allocations: 0 / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2146, allocations: 432 / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.2147, allocations: 16.02 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2147, allocations: 0 / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.2147, allocations: 7.938 kB / 0.733 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2147, allocations: 0 / 0.733 GB, free: 12.55 MB / 0.5606 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 0.0001029/0.2148, allocations: 119.7 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.2149, allocations: 0 / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.215, allocations: 77.27 kB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.215, allocations: 0 / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.215, allocations: 0 / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.215, allocations: 4 kB / 0.7332 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.2152, allocations: 132.7 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2152, allocations: 0 / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.2153, allocations: 7.984 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2153, allocations: 0 / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2153, allocations: 4 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2153, allocations: 0 / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2153, allocations: 0 / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2154, allocations: 155.4 kB / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.2154, allocations: 128 / 0.7335 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2154, allocations: 8 kB / 0.7335 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.2155, allocations: 4 kB / 0.7335 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.2155, allocations: 3.984 kB / 0.7335 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.2155, allocations: 0 / 0.7335 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.2156, allocations: 83.28 kB / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2156, allocations: 0 / 0.7336 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002433/0.2158, allocations: 23.88 kB / 0.7336 GB, free: 11.86 MB / 0.5606 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.0005638/0.2164, allocations: 0.6967 MB / 0.7343 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.2165, allocations: 23.94 kB / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2165, allocations: 0 / 0.7343 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.307e-05/0.2165, allocations: 16.05 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.2167, allocations: 4 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.2172, allocations: 168.2 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.159e-05/0.2173, allocations: 59.3 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.2173, allocations: 4 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.2173, allocations: 11.42 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2173, allocations: 4 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.241, allocations: 1.545 MB / 0.7361 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.71, allocations: 4.062 kB / 0.7361 GB, free: 9.391 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.880863653030246] Failed to read output from testmodel.py, exit status != 0: 11.870715443044901 11.894928384 11.67791213 Calling exit ...