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.0008208/0.0008208, 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.0008393/0.0008393, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.88/0.88, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5536/0.5536, allocations: 114.9 MB / 374.9 MB, free: 7.758 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.212e-06/1.212e-06, allocations: 0 / 0.5559 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.325e-05, allocations: 2.281 kB / 0.5559 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001613/0.001626, allocations: 1.405 MB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000971/0.002597, allocations: 1.004 MB / 0.5582 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.002634, allocations: 0 / 0.5582 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.002653, allocations: 3.938 kB / 0.5582 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.579e-05/0.002748, allocations: 19.8 kB / 0.5582 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.003258, allocations: 241.8 kB / 0.5585 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.003346, allocations: 75.58 kB / 0.5586 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.003387, allocations: 7.938 kB / 0.5586 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.003441, allocations: 43.89 kB / 0.5586 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.003512, allocations: 31.91 kB / 0.5586 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.003527, allocations: 4 kB / 0.5586 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.003918, allocations: 399.4 kB / 0.559 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.003937, allocations: 15.92 kB / 0.559 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.003971, allocations: 19.97 kB / 0.559 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.0043, allocations: 350.8 kB / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004303, allocations: 0 / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004304, allocations: 4 kB / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004308, allocations: 0 / 0.5594 GB, free: 13.34 MB / 0.5261 GB 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.0004056/0.004714, allocations: 385.1 kB / 0.5598 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.00475, allocations: 8.031 kB / 0.5598 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.004778, allocations: 34.75 kB / 0.5598 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.005065, allocations: 52.81 kB / 0.5598 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.00518, allocations: 133.7 kB / 0.56 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.005192, allocations: 4.375 kB / 0.56 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.005205, allocations: 8.109 kB / 0.56 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.005331, allocations: 65.64 kB / 0.56 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.005338, allocations: 0 / 0.56 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.005347, allocations: 0 / 0.56 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005353, allocations: 4 kB / 0.5601 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.005475, allocations: 43.89 kB / 0.5601 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.005602, allocations: 152.7 kB / 0.5602 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.005795, allocations: 90.52 kB / 0.5603 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.005858, allocations: 32.8 kB / 0.5604 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.005869, allocations: 0 / 0.5604 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.005884, allocations: 34.56 kB / 0.5604 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.005885, allocations: 0 / 0.5604 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000271/0.006156, allocations: 117.5 kB / 0.5605 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.00618, allocations: 51.41 kB / 0.5606 GB, free: 12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.006278, allocations: 159.1 kB / 0.5607 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.006289, allocations: 25.7 kB / 0.5607 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.006322, allocations: 92.09 kB / 0.5608 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.006342, allocations: 11.89 kB / 0.5608 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.006381, allocations: 33.7 kB / 0.5609 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.006455, allocations: 318.8 kB / 0.5612 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.006538, allocations: 47.97 kB / 0.5612 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.006613, allocations: 47.97 kB / 0.5613 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.006763, allocations: 95.77 kB / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006765, allocations: 0 / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002201/0.006985, allocations: 153.4 kB / 0.5615 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.006998, allocations: 8 kB / 0.5615 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.007011, allocations: 0 / 0.5615 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.007022, allocations: 0 / 0.5615 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.007117, allocations: 23.98 kB / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.007121, allocations: 0 / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.007186, allocations: 15.88 kB / 0.5615 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.007194, allocations: 4 kB / 0.5615 GB, free: 10.94 MB / 0.5261 GB 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 5.672e-05/0.007251, allocations: 109.8 kB / 0.5616 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.007262, allocations: 11.89 kB / 0.5617 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.007289, allocations: 8.344 kB / 0.5617 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.00729, allocations: 7.938 kB / 0.5617 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.007295, allocations: 3.984 kB / 0.5617 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.007297, allocations: 4 kB / 0.5617 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.465e-05/0.007372, allocations: 144.7 kB / 0.5618 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.007373, allocations: 4 kB / 0.5618 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/0.007421, allocations: 11.98 kB / 0.5618 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007422, allocations: 0 / 0.5618 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.00743, allocations: 3.938 kB / 0.5618 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.00743, allocations: 0 / 0.5618 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.007431, allocations: 0 / 0.5618 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.007592, allocations: 121.1 kB / 0.562 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.007604, allocations: 11.95 kB / 0.562 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.007618, allocations: 0 / 0.562 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.405e-05/0.007662, allocations: 7.984 kB / 0.562 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.007679, allocations: 4 kB / 0.562 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.007684, allocations: 7.922 kB / 0.562 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.007734, allocations: 114.1 kB / 0.5621 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007734, allocations: 0 / 0.5621 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001595/0.007893, allocations: 31.94 kB / 0.5621 GB, free: 10.27 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.0003846/0.008278, allocations: 0.6592 MB / 0.5628 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.008477, allocations: 113.6 kB / 0.5629 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008478, allocations: 0 / 0.5629 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-05/0.008536, allocations: 27.98 kB / 0.5629 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.008709, allocations: 11.98 kB / 0.5629 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.01015, allocations: 1.575 MB / 0.5645 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.01019, allocations: 75.33 kB / 0.5645 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.01023, allocations: 4 kB / 0.5645 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.01028, allocations: 28.48 kB / 0.5646 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of SimCode: time 5.82e-07/0.01028, allocations: 0 / 0.5646 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.02638, allocations: 3.809 MB / 0.5683 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/6.864, allocations: 17.92 kB / 0.5683 GB, free: 4.004 MB / 0.5261 GB " [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.393192588991951]