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.0009424/0.0009424, 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.001045/0.001045, allocations: 161.3 kB / 23.52 MB, free: 0.9102 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.9105/0.9105, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.5554/0.5554, allocations: 114.9 MB / 375.3 MB, free: 7.559 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.273e-06/1.273e-06, allocations: 0.5469 kB / 480.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.676e-06/9.949e-06, allocations: 3.25 kB / 480.3 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001313/0.001323, allocations: 1.347 MB / 481.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.002048, allocations: 0.8429 MB / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.00208, allocations: 0 / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.002095, allocations: 0 / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.002161, allocations: 13.08 kB / 482.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.002575, allocations: 211.2 kB / 482.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.555e-05/0.00264, allocations: 35.14 kB / 482.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.002678, allocations: 10.41 kB / 482.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.002719, allocations: 23.41 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.82e-05/0.002757, allocations: 11.86 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.002769, allocations: 0 / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.003146, allocations: 384.7 kB / 483.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.003159, allocations: 0 / 483.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.003184, allocations: 19.27 kB / 483.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.003465, allocations: 283.9 kB / 483.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003467, allocations: 1.062 kB / 483.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003468, allocations: 0 / 483.5 MB, free: 10.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.003471, 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.0002994/0.00377, allocations: 341.5 kB / 483.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.003809, allocations: 11 kB / 483.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.042e-05/0.003829, allocations: 34.03 kB / 483.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.004029, allocations: 30.55 kB / 483.9 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.004095, allocations: 117.8 kB / 484 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.004106, allocations: 2.438 kB / 484 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.004115, allocations: 1.625 kB / 484 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.004202, allocations: 45.31 kB / 484 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.004207, allocations: 1.156 kB / 484 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.004215, allocations: 4 kB / 484 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.004219, allocations: 4 kB / 484 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.004276, allocations: 19.06 kB / 484.1 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.217e-05/0.004369, allocations: 137.1 kB / 484.2 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/0.004449, allocations: 42.78 kB / 484.2 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.004484, allocations: 19.12 kB / 484.2 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.004499, allocations: 1.156 kB / 484.2 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.004513, allocations: 39.5 kB / 484.3 MB, free: 9.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004514, allocations: 2.719 kB / 484.3 MB, free: 9.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000188/0.004702, allocations: 66.52 kB / 484.4 MB, free: 9.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.004719, allocations: 60.47 kB / 484.4 MB, free: 9.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.113e-05/0.00478, allocations: 125.6 kB / 484.5 MB, free: 9.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.004787, allocations: 26.48 kB / 484.6 MB, free: 9.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.004808, allocations: 86.09 kB / 484.6 MB, free: 9.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.004822, allocations: 13.98 kB / 484.7 MB, free: 9.223 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.004852, allocations: 24.53 kB / 484.7 MB, free: 9.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.004979, allocations: 316.2 kB / 485 MB, free: 24.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.005026, allocations: 22.73 kB / 485 MB, free: 24.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.005064, allocations: 22.09 kB / 485 MB, free: 24.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.005144, allocations: 47.33 kB / 485.1 MB, free: 24.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005146, allocations: 0 / 485.1 MB, free: 24.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001107/0.005256, allocations: 87.44 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.005269, allocations: 9 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.005282, allocations: 7.188 kB / 485.2 MB, free: 24.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.005296, allocations: 1.156 kB / 485.2 MB, free: 24.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.00573, allocations: 83.36 kB / 485.3 MB, free: 24.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.006781, allocations: 1.39 MB / 486.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.006808, allocations: 17.89 kB / 486.7 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.006815, allocations: 5.5 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.577e-05/0.006871, allocations: 109.2 kB / 486.8 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-06/0.006879, allocations: 5.109 kB / 486.8 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.067e-06/0.006888, allocations: 10.56 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.91e-07/0.006888, allocations: 0 / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.006889, allocations: 1.156 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006892, allocations: 0 / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.03e-05/0.006942, allocations: 134.6 kB / 486.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006943, allocations: 0 / 486.9 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.007394, allocations: 103.5 kB / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.007395, allocations: 0 / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.007403, allocations: 5.125 kB / 487 MB, free: 23.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000988/0.008391, allocations: 1.395 MB / 488.4 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.008392, allocations: 3.328 kB / 488.4 MB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.008486, allocations: 91.94 kB / 488.5 MB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-06/0.008491, allocations: 10.02 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-06/0.008497, allocations: 1.312 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.811e-05/0.008515, allocations: 2.25 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.008532, allocations: 5.469 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.008536, allocations: 0.9688 kB / 488.5 MB, free: 21.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.712e-05/0.008573, allocations: 96.34 kB / 488.6 MB, free: 21.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008573, allocations: 0 / 488.6 MB, free: 21.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.008733, allocations: 22.44 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.0003181/0.009051, allocations: 0.6378 MB / 489.3 MB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.00956, allocations: 149.8 kB / 489.4 MB, free: 21.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009561, allocations: 2.25 kB / 489.4 MB, free: 21.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.01002, allocations: 115.7 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.000163/0.01019, allocations: 19.56 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.001082/0.01127, allocations: 1.293 MB / 490.9 MB, free: 19.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.0113, allocations: 70.91 kB / 490.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.01132, allocations: 1.812 kB / 490.9 MB, free: 19.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.01134, allocations: 14.5 kB / 491 MB, free: 19.75 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01135, allocations: 0 / 491 MB, free: 19.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.0256, allocations: 3.34 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.319/8.345, allocations: 16.03 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.792424979968928]