Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.0007851/0.0007851, allocations: 72.5 kB / 19.92 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.000854/0.000854, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8704/0.8704, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5949/0.5949, allocations: 115 MB / 374.9 MB, free: 7.777 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.InversePowerLaws,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.481e-05, allocations: 2.281 kB / 0.5559 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002784/0.002808, allocations: 1.371 MB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.00423, allocations: 0.8521 MB / 0.5581 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.004279, allocations: 4 kB / 0.5581 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.00433, allocations: 7.922 kB / 0.5581 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.004482, allocations: 23.78 kB / 0.5581 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.005322, allocations: 234.9 kB / 0.5583 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.005565, allocations: 179.6 kB / 0.5585 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.005613, allocations: 0 / 0.5585 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.005732, allocations: 67.89 kB / 0.5585 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.005874, allocations: 75.84 kB / 0.5586 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.005905, allocations: 8 kB / 0.5586 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.006543, allocations: 383.4 kB / 0.559 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.00665, allocations: 71.81 kB / 0.5591 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.006718, allocations: 43.86 kB / 0.5591 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.0073, allocations: 398.8 kB / 0.5595 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.007307, allocations: 4 kB / 0.5595 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.007309, allocations: 0 / 0.5595 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.007315, allocations: 0 / 0.5595 GB, free: 13.27 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006735/0.007988, allocations: 420.9 kB / 0.5599 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.008038, allocations: 11.97 kB / 0.5599 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.008087, allocations: 38.75 kB / 0.5599 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007632/0.00885, allocations: 116.7 kB / 0.56 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.009001, allocations: 118.5 kB / 0.5602 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.009041, allocations: 8.375 kB / 0.5602 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.009073, allocations: 4.375 kB / 0.5602 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.009537, allocations: 177.7 kB / 0.5603 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.009548, allocations: 0 / 0.5603 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.009569, allocations: 4 kB / 0.5603 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.009578, allocations: 7.984 kB / 0.5604 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.01029, allocations: 215.7 kB / 0.5606 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.0109, allocations: 347.7 kB / 0.5609 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.01183, allocations: 330.2 kB / 0.5612 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.01217, allocations: 132.8 kB / 0.5613 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.01218, allocations: 0 / 0.5613 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.01221, allocations: 30.56 kB / 0.5614 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.01221, allocations: 8 kB / 0.5614 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.001087/0.0133, allocations: 365.2 kB / 0.5617 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.01334, allocations: 59.41 kB / 0.5618 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.01355, allocations: 211 kB / 0.562 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.01357, allocations: 33.64 kB / 0.562 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.01365, allocations: 108.5 kB / 0.5621 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.01369, allocations: 39.67 kB / 0.5621 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.0138, allocations: 61.69 kB / 0.5622 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.0139, allocations: 326.8 kB / 0.5625 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.0143, allocations: 160.2 kB / 0.5627 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.0147, allocations: 181.6 kB / 0.5628 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.0154, allocations: 312.2 kB / 0.5631 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.0154, allocations: 0 / 0.5631 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009097/0.01631, allocations: 405 kB / 0.5635 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.01633, allocations: 4 kB / 0.5635 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.01636, allocations: 8 kB / 0.5635 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01637, allocations: 0 / 0.5635 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.01661, allocations: 35.95 kB / 0.5636 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.01662, allocations: 4 kB / 0.5636 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.01679, allocations: 47.7 kB / 0.5636 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.01682, allocations: 4 kB / 0.5636 GB, free: 8.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 0.0001305/0.01695, allocations: 141.7 kB / 0.5638 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.017, allocations: 11.91 kB / 0.5638 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.01705, allocations: 17.47 kB / 0.5638 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.01705, allocations: 0 / 0.5638 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01706, allocations: 0 / 0.5638 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01706, allocations: 0 / 0.5638 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.0173, allocations: 172.7 kB / 0.564 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.0173, allocations: 3.984 kB / 0.564 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.01751, allocations: 31.97 kB / 0.564 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.01752, allocations: 4 kB / 0.564 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.01754, allocations: 11.98 kB / 0.564 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01754, allocations: 0 / 0.564 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01755, allocations: 0 / 0.564 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.01829, allocations: 363.1 kB / 0.5643 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.01833, allocations: 15.84 kB / 0.5644 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.01836, allocations: 0 / 0.5644 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.01854, allocations: 23.97 kB / 0.5644 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.01857, allocations: 7.984 kB / 0.5644 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.01859, allocations: 4 kB / 0.5644 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001165/0.01871, allocations: 141.1 kB / 0.5645 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01871, allocations: 0 / 0.5645 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003637/0.01907, allocations: 51.94 kB / 0.5646 GB, free: 7.766 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 (10): * Single equations (assignments): 10 * 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.001106/0.02018, allocations: 0.9191 MB / 0.5655 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008515/0.02103, allocations: 387.5 kB / 0.5659 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02103, allocations: 0 / 0.5659 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.02135, allocations: 119.9 kB / 0.566 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.02173, allocations: 23.92 kB / 0.566 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.02601, allocations: 2.564 MB / 0.5685 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.02612, allocations: 108.6 kB / 0.5686 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.02629, allocations: 52.45 kB / 0.5686 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.02642, allocations: 44.47 kB / 0.5687 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of SimCode: time 1.253e-06/0.02642, allocations: 0 / 0.5687 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.04718, allocations: 5.165 MB / 0.5737 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/6.996, allocations: 6.609 kB / 0.5737 GB, free: 14.43 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_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_InversePowerLaws.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.601761370999156]