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.00118/0.00118, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00135/0.00135, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.8739/0.8739, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.567/0.567, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.332e-05, allocations: 4.688 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001662/0.001685, allocations: 1.299 MB / 0.5555 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006337/0.002319, allocations: 0.5176 MB / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.002343, allocations: 0 / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.002363, allocations: 3.938 kB / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.002403, allocations: 15.92 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.002808, allocations: 135.3 kB / 0.5561 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.002862, allocations: 23.86 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.002903, allocations: 4 kB / 0.5561 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.002936, allocations: 15.97 kB / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.00298, allocations: 4 kB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.002995, allocations: 7.938 kB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.003262, allocations: 263.4 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.003277, allocations: 11.94 kB / 0.5564 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.853e-05/0.003296, allocations: 4 kB / 0.5564 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.003484, allocations: 155.5 kB / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003486, allocations: 0 / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003487, allocations: 0 / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.003493, allocations: 0 / 0.5566 GB, free: 312 kB / 0.5105 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.0004126/0.003905, allocations: 284.2 kB / 0.5568 GB, free: 0 / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.003968, allocations: 12.67 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.003999, allocations: 34.75 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.004024, allocations: 4.891 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.004113, allocations: 109.7 kB / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.004123, allocations: 4.375 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.004134, allocations: 4.375 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.004248, allocations: 45.95 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.004256, allocations: 0 / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.004265, allocations: 7.984 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.00427, allocations: 3.938 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.004315, allocations: 12 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.004644, allocations: 228 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.004836, allocations: 46.61 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.004863, allocations: 16.86 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.004884, allocations: 4 kB / 0.5574 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.004906, allocations: 38.48 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.004907, allocations: 0 / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001615/0.005068, allocations: 57.69 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.005103, allocations: 51.41 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.005167, allocations: 97.86 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.005177, allocations: 25.7 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.005222, allocations: 88.03 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.005232, allocations: 19.83 kB / 0.5577 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.005261, allocations: 21.72 kB / 0.5577 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.005346, allocations: 310.8 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.005363, allocations: 8 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.005394, allocations: 29.64 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.005439, allocations: 29.66 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005442, allocations: 0 / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.07e-05/0.005522, allocations: 57.62 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.005538, allocations: 10.19 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005544, allocations: 0 / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.005556, allocations: 0 / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.558e-05/0.005591, allocations: 16.02 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.005597, allocations: 0 / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.005611, allocations: 4 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005616, allocations: 0 / 0.5582 GB, free: 14.46 MB / 0.5261 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 6.082e-05/0.005677, allocations: 113.8 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.005689, allocations: 7.953 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.005803, allocations: 65.3 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005804, allocations: 0 / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.005809, allocations: 0 / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005812, allocations: 4 kB / 0.5584 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.005927, allocations: 128.7 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005928, allocations: 0 / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.005946, allocations: 7.984 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.005947, allocations: 0 / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.005954, allocations: 128 / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.005956, allocations: 11.94 kB / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005957, allocations: 0 / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.141e-05/0.006038, allocations: 155.9 kB / 0.5587 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-06/0.006046, allocations: 7.891 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.006054, allocations: 0 / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.00608, allocations: 8 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.006097, allocations: 3.984 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.0061, allocations: 4 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.00613, allocations: 79.28 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.00613, allocations: 0 / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001744/0.006304, allocations: 19.88 kB / 0.5588 GB, free: 13.78 MB / 0.5261 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.0003106/0.006615, allocations: 0.6967 MB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.758e-05/0.006693, allocations: 23.94 kB / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.006695, allocations: 0 / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.006707, allocations: 20.05 kB / 0.5595 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.006854, allocations: 3.938 kB / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.007193, allocations: 154.4 kB / 0.5596 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.007238, allocations: 63.34 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.007262, allocations: 3.984 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.007293, allocations: 16.48 kB / 0.5597 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.007294, allocations: 4 kB / 0.5597 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.02236, allocations: 2.027 MB / 0.5617 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.916, allocations: 2.234 kB / 0.5617 GB, free: 10.84 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.412733693607152] Failed to read output from testmodel.py, exit status != 0: 6.9967354871332645 7.005778365 7.000624387 Calling exit ...