Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.001122/0.001122, allocations: 96.7 kB / 20.21 MB, free: 4.215 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.001246/0.001246, allocations: 161.3 kB / 23.52 MB, free: 0.9141 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.9305/0.9305, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.5905/0.5905, allocations: 114.9 MB / 375.3 MB, free: 7.602 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.InvertingPowerLaw_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 4.141 kB / 480.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.472e-05, allocations: 6.281 kB / 480.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001352/0.001366, allocations: 1.343 MB / 481.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.002141, allocations: 0.8423 MB / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002174, allocations: 0 / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.00219, allocations: 4.656 kB / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.002262, allocations: 8.828 kB / 482.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.002696, allocations: 211.2 kB / 482.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.193e-05/0.002758, allocations: 42.16 kB / 482.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.002794, allocations: 11.55 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.002835, allocations: 19 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.002876, allocations: 9.453 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.002888, allocations: 6.344 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.003236, allocations: 373.9 kB / 483.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.00325, allocations: 11.39 kB / 483.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.003272, allocations: 14.53 kB / 483.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.003542, allocations: 286.1 kB / 483.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003544, allocations: 0 / 483.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003544, allocations: 2.25 kB / 483.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003548, allocations: 0 / 483.5 MB, free: 10.38 MB / 410.7 MB 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.0003028/0.003851, allocations: 341.4 kB / 483.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.00389, allocations: 10.06 kB / 483.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.483e-05/0.003915, allocations: 35.45 kB / 483.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.004112, allocations: 25.81 kB / 483.9 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.759e-05/0.00418, allocations: 118.2 kB / 484 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.004192, allocations: 384 / 484 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.004203, allocations: 3.469 kB / 484 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.501e-05/0.004288, allocations: 47.86 kB / 484 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.004294, allocations: 1.5 kB / 484 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.004303, allocations: 5.156 kB / 484 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.004307, allocations: 0 / 484 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.00437, allocations: 24.12 kB / 484.1 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.004475, allocations: 132.5 kB / 484.2 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.004561, allocations: 38.77 kB / 484.2 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.004597, allocations: 23.11 kB / 484.2 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.00461, allocations: 5.219 kB / 484.3 MB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.004625, allocations: 40.59 kB / 484.3 MB, free: 9.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.004626, allocations: 0 / 484.3 MB, free: 9.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001787/0.004804, allocations: 64.17 kB / 484.4 MB, free: 9.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.004823, allocations: 52.31 kB / 484.4 MB, free: 9.469 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.004884, allocations: 130 kB / 484.5 MB, free: 9.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.00489, allocations: 29.12 kB / 484.6 MB, free: 9.324 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.00491, allocations: 87.41 kB / 484.6 MB, free: 9.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.004924, allocations: 11.89 kB / 484.7 MB, free: 9.227 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.004952, allocations: 25.39 kB / 484.7 MB, free: 9.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.005119, allocations: 316.4 kB / 485 MB, free: 24.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.005166, allocations: 26.72 kB / 485 MB, free: 24.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.005201, allocations: 22.42 kB / 485 MB, free: 24.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.005281, allocations: 48.58 kB / 485.1 MB, free: 24.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005283, allocations: 1.094 kB / 485.1 MB, free: 24.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001093/0.005392, allocations: 88.06 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005403, allocations: 10.03 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.005415, allocations: 1.125 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.005428, allocations: 2.25 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.005865, allocations: 84.27 kB / 485.3 MB, free: 24.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.006947, allocations: 1.391 MB / 486.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.006974, allocations: 19 kB / 486.7 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.006982, allocations: 5.094 kB / 486.7 MB, free: 23.46 MB / 426.7 MB 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.477e-05/0.007036, allocations: 114.3 kB / 486.8 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.007045, allocations: 6.922 kB / 486.8 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-06/0.007055, allocations: 11.05 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007057, allocations: 1.438 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.51e-07/0.007058, allocations: 0.7812 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007061, allocations: 0 / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.525e-05/0.007106, allocations: 131.6 kB / 486.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007107, allocations: 0.6875 kB / 486.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.007559, allocations: 103.3 kB / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00756, allocations: 0 / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.007567, allocations: 1.281 kB / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.008586, allocations: 1.403 MB / 488.5 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008588, allocations: 1.406 kB / 488.5 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.089e-05/0.008679, allocations: 86.59 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.008687, allocations: 10.78 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-06/0.008694, allocations: 1.219 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.008715, allocations: 1.094 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.008735, allocations: 9.469 kB / 488.6 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.008739, allocations: 1.125 kB / 488.6 MB, free: 21.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.008781, allocations: 92.55 kB / 488.6 MB, free: 21.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008781, allocations: 1.625 kB / 488.7 MB, free: 21.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008944, allocations: 20.47 kB / 488.7 MB, free: 21.68 MB / 426.7 MB 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.0003352/0.009279, allocations: 0.6352 MB / 489.3 MB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000522/0.009801, allocations: 154 kB / 489.5 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009803, allocations: 0.9062 kB / 489.5 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.01029, allocations: 122.5 kB / 489.6 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.01046, allocations: 8.219 kB / 489.6 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.0115, allocations: 1.29 MB / 490.9 MB, free: 19.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.466e-05/0.01153, allocations: 67.52 kB / 490.9 MB, free: 19.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.163e-05/0.01155, allocations: 2.656 kB / 490.9 MB, free: 19.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.01158, allocations: 12.5 kB / 491 MB, free: 19.75 MB / 426.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01158, allocations: 1.406 kB / 491 MB, free: 19.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.0276, allocations: 3.33 MB / 494.3 MB, free: 18.66 MB / 426.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.083, allocations: 8.047 kB / 494.3 MB, free: 18.66 MB / 426.7 MB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.569099180997]