Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.0009653/0.0009653, 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.0008884/0.0008884, allocations: 161.3 kB / 23.52 MB, free: 0.9062 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.8866/0.8866, 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.5747/0.5747, allocations: 114.9 MB / 375.3 MB, free: 7.605 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.PowerLaw_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 480.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.338e-06/1.072e-05, allocations: 3.062 kB / 480.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001406/0.001417, allocations: 1.404 MB / 481.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009943/0.002411, allocations: 1.007 MB / 482.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.002456, allocations: 0 / 482.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.002474, allocations: 5.375 kB / 482.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.002577, allocations: 23.31 kB / 482.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.00305, allocations: 244 kB / 483 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.003131, allocations: 78.81 kB / 483 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.003169, allocations: 2.906 kB / 483.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.003221, allocations: 36.45 kB / 483.1 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.003297, allocations: 40.3 kB / 483.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.003312, allocations: 4.562 kB / 483.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.003706, allocations: 396 kB / 483.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.003724, allocations: 9.562 kB / 483.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.003758, allocations: 26.98 kB / 483.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.004117, allocations: 343.8 kB / 483.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004119, allocations: 3.125 kB / 483.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.00412, allocations: 0 / 483.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004124, allocations: 0 / 483.9 MB, free: 10.14 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004184/0.004543, allocations: 377.9 kB / 484.3 MB, free: 9.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.004584, allocations: 8.75 kB / 484.3 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.304e-05/0.004607, allocations: 36.53 kB / 484.3 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/0.004952, allocations: 67.67 kB / 484.4 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.798e-05/0.00504, allocations: 127 kB / 484.5 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.005052, allocations: 1.469 kB / 484.5 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.005065, allocations: 8.094 kB / 484.5 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.005191, allocations: 65.67 kB / 484.6 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005198, allocations: 0 / 484.6 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.005207, allocations: 0.8125 kB / 484.6 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.005212, allocations: 2.188 kB / 484.6 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.005338, allocations: 47.69 kB / 484.6 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.005455, allocations: 144.2 kB / 484.8 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.005651, allocations: 86.03 kB / 484.8 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.005736, allocations: 38.33 kB / 484.9 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.005752, allocations: 5 kB / 484.9 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.005768, allocations: 36.06 kB / 484.9 MB, free: 9.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.005769, allocations: 0.75 kB / 484.9 MB, free: 9.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002885/0.006057, allocations: 112.5 kB / 485 MB, free: 9.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.603e-05/0.006073, allocations: 52.91 kB / 485.1 MB, free: 9.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.006154, allocations: 158.8 kB / 485.2 MB, free: 9.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.006163, allocations: 32.89 kB / 485.3 MB, free: 9.027 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.158e-05/0.006185, allocations: 85.77 kB / 485.4 MB, free: 8.941 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.006202, allocations: 12.47 kB / 485.4 MB, free: 8.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.006242, allocations: 32.78 kB / 485.4 MB, free: 8.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.946e-05/0.006272, allocations: 321.5 kB / 485.7 MB, free: 8.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.006353, allocations: 42.03 kB / 485.8 MB, free: 8.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.006426, allocations: 54.45 kB / 485.8 MB, free: 8.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.006572, allocations: 98.8 kB / 485.9 MB, free: 8.516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.006574, allocations: 4 kB / 485.9 MB, free: 8.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002114/0.006786, allocations: 155.3 kB / 486.1 MB, free: 8.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.006799, allocations: 4.562 kB / 486.1 MB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.006811, allocations: 2.25 kB / 486.1 MB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.006825, allocations: 1.438 kB / 486.1 MB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.006926, allocations: 19.78 kB / 486.1 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.006932, allocations: 5.5 kB / 486.1 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.007, allocations: 13.2 kB / 486.1 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.00701, allocations: 2.75 kB / 486.1 MB, free: 8.426 MB / 410.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.275e-05/0.007052, allocations: 117 kB / 486.2 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.007066, allocations: 11.2 kB / 486.2 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.00709, allocations: 9.5 kB / 486.2 MB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007092, allocations: 1.156 kB / 486.2 MB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.007096, allocations: 1.812 kB / 486.2 MB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007099, allocations: 0 / 486.2 MB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.784e-05/0.007156, allocations: 145.9 kB / 486.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007157, allocations: 1.062 kB / 486.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.007209, allocations: 13.22 kB / 486.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.00721, allocations: 1 kB / 486.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.007219, allocations: 4.422 kB / 486.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007219, allocations: 1.031 kB / 486.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.007221, allocations: 1.281 kB / 486.4 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.007377, allocations: 119.3 kB / 486.5 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.007389, allocations: 11.39 kB / 486.5 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.007403, allocations: 0 / 486.5 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.007449, allocations: 11.05 kB / 486.5 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.007467, allocations: 3.891 kB / 486.6 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.007471, allocations: 3.375 kB / 486.6 MB, free: 8.027 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.007631, allocations: 114.8 kB / 486.7 MB, free: 23.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007631, allocations: 0 / 486.7 MB, free: 23.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.007789, allocations: 31.88 kB / 486.7 MB, free: 23.93 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 (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.0003797/0.008169, allocations: 0.6604 MB / 487.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.008373, allocations: 114.2 kB / 487.5 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008374, allocations: 0 / 487.5 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/0.00843, allocations: 29.08 kB / 487.5 MB, free: 23.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.008607, allocations: 23.16 kB / 487.5 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.01004, allocations: 1.592 MB / 489.1 MB, free: 21.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.01007, allocations: 72.2 kB / 489.2 MB, free: 21.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.633e-05/0.01012, allocations: 7.344 kB / 489.2 MB, free: 21.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.01017, allocations: 23.81 kB / 489.2 MB, free: 21.88 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01017, allocations: 0 / 489.2 MB, free: 21.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.02551, allocations: 4.102 MB / 493.3 MB, free: 20.72 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 7.392/7.417, allocations: 2.75 kB / 493.3 MB, free: 20.72 MB / 426.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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_PowerLaw_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.84647941502044]