Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.001144/0.001144, 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.001335/0.001335, allocations: 161.7 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.953/0.953, 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.6125/0.6125, allocations: 114.9 MB / 375.3 MB, free: 7.574 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_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 480.3 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.329e-05, allocations: 9.406 kB / 480.3 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001905/0.001918, allocations: 1.344 MB / 481.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002944, allocations: 0.8362 MB / 482.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.002981, allocations: 0 / 482.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.002997, allocations: 7.625 kB / 482.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.003068, allocations: 11.94 kB / 482.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.003616, allocations: 211.8 kB / 482.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.003686, allocations: 40.28 kB / 482.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.058e-05/0.003717, allocations: 8.469 kB / 482.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.003756, allocations: 18.16 kB / 482.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.003801, allocations: 12.81 kB / 482.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.003813, allocations: 1.219 kB / 482.8 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005312/0.004344, allocations: 374.8 kB / 483.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.004359, allocations: 8.656 kB / 483.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.004385, allocations: 10 kB / 483.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.004766, allocations: 293.9 kB / 483.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004769, allocations: 3.938 kB / 483.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004769, allocations: 0.5625 kB / 483.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.004773, allocations: 0 / 483.5 MB, free: 10.28 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.0003399/0.005113, allocations: 342.7 kB / 483.8 MB, free: 9.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.005153, allocations: 10.53 kB / 483.8 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.005175, allocations: 30.75 kB / 483.8 MB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.005416, allocations: 25.69 kB / 483.9 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.546e-05/0.005492, allocations: 121.4 kB / 484 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.005505, allocations: 5.5 kB / 484 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.00552, allocations: 2.875 kB / 484 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.005626, allocations: 45.16 kB / 484 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005634, allocations: 3.938 kB / 484 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.005641, allocations: 0.9375 kB / 484 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.005645, allocations: 0.9375 kB / 484 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.005736, allocations: 19.72 kB / 484.1 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.005851, allocations: 136.4 kB / 484.2 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.005967, allocations: 36.28 kB / 484.2 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.006016, allocations: 18.47 kB / 484.2 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.00603, allocations: 1.125 kB / 484.2 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.006047, allocations: 44.94 kB / 484.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.006048, allocations: 0 / 484.3 MB, free: 9.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.006277, allocations: 71.62 kB / 484.4 MB, free: 9.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.006296, allocations: 51.41 kB / 484.4 MB, free: 9.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.00637, allocations: 129.1 kB / 484.5 MB, free: 9.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.006379, allocations: 27.98 kB / 484.6 MB, free: 9.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/0.006401, allocations: 88.5 kB / 484.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.006416, allocations: 12.98 kB / 484.7 MB, free: 9.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.006457, allocations: 25.45 kB / 484.7 MB, free: 9.109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.021e-05/0.006487, allocations: 312.6 kB / 485 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.238e-05/0.00656, allocations: 28.22 kB / 485 MB, free: 8.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.006619, allocations: 21.97 kB / 485 MB, free: 8.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.006734, allocations: 52.69 kB / 485.1 MB, free: 8.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006736, allocations: 0 / 485.1 MB, free: 8.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001656/0.006901, allocations: 84.69 kB / 485.2 MB, free: 8.703 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.006916, allocations: 9.875 kB / 485.2 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.006929, allocations: 2.031 kB / 485.2 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.006943, allocations: 1.406 kB / 485.2 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.007575, allocations: 78.67 kB / 485.3 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.009199, allocations: 1.399 MB / 486.7 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.009244, allocations: 10.92 kB / 486.7 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.009254, allocations: 5.031 kB / 486.7 MB, free: 23.37 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 6.232e-05/0.009316, allocations: 112.2 kB / 486.8 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.00933, allocations: 6.203 kB / 486.8 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.009345, allocations: 3.625 kB / 486.8 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.009347, allocations: 1.031 kB / 486.8 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.009348, allocations: 3.938 kB / 486.8 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.009351, allocations: 2.594 kB / 486.8 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.181e-05/0.009413, allocations: 141.6 kB / 486.9 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009414, allocations: 0 / 486.9 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/0.01017, allocations: 103.2 kB / 487 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.01017, allocations: 0 / 487 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01018, allocations: 1.125 kB / 487 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.01177, allocations: 1.403 MB / 488.4 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01177, allocations: 1.188 kB / 488.4 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.01192, allocations: 83.53 kB / 488.5 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.01193, allocations: 10.59 kB / 488.5 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.01194, allocations: 1 kB / 488.5 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.842e-05/0.01198, allocations: 6.078 kB / 488.5 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.012, allocations: 1.125 kB / 488.5 MB, free: 21.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01201, allocations: 2.156 kB / 488.5 MB, free: 21.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.01206, allocations: 93.42 kB / 488.6 MB, free: 21.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01206, allocations: 1.281 kB / 488.6 MB, free: 21.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.01233, allocations: 24.08 kB / 488.7 MB, free: 21.58 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.0007773/0.01311, allocations: 0.6383 MB / 489.3 MB, free: 20.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008731/0.01398, allocations: 152.2 kB / 489.5 MB, free: 20.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01398, allocations: 0 / 489.5 MB, free: 20.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008189/0.0148, allocations: 121.1 kB / 489.6 MB, free: 20.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.01503, allocations: 10.41 kB / 489.6 MB, free: 20.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.0165, allocations: 1.293 MB / 490.9 MB, free: 19.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.576e-05/0.01653, allocations: 62.8 kB / 490.9 MB, free: 19.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.219e-05/0.01655, allocations: 2.562 kB / 490.9 MB, free: 19.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.01659, allocations: 21.33 kB / 491 MB, free: 19.65 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01659, allocations: 3.375 kB / 491 MB, free: 19.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.03373, allocations: 3.322 MB / 494.3 MB, free: 18.54 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.081/8.115, allocations: 8.344 kB / 494.3 MB, free: 18.54 MB / 426.7 MB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_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_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.679927018994931]