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.000842/0.000842, 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.0008819/0.0008819, allocations: 161.3 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.9134/0.9134, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.5612/0.5612, allocations: 114.9 MB / 375.3 MB, free: 7.578 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 8.01e-07/8.01e-07, allocations: 0 / 480.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.625e-06/8.426e-06, allocations: 2.312 kB / 480.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.00129/0.001298, allocations: 1.34 MB / 481.6 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007721/0.00207, allocations: 0.8419 MB / 482.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.002099, allocations: 2.281 kB / 482.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.06e-05/0.002109, allocations: 3.938 kB / 482.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.002153, allocations: 15.25 kB / 482.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.002561, allocations: 201.8 kB / 482.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.048e-05/0.002611, allocations: 46.75 kB / 482.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.434e-05/0.002636, allocations: 3.938 kB / 482.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.676e-05/0.002663, allocations: 24.08 kB / 482.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.863e-05/0.002691, allocations: 13.89 kB / 482.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.0027, allocations: 3.594 kB / 482.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.003094, allocations: 376 kB / 483.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.003105, allocations: 3.984 kB / 483.2 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.003128, allocations: 18.42 kB / 483.2 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.003419, allocations: 291.1 kB / 483.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-06/0.00342, allocations: 0 / 483.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003421, allocations: 0 / 483.5 MB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.003424, allocations: 0.5938 kB / 483.5 MB, free: 10.34 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.0002573/0.003681, allocations: 344 kB / 483.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.003712, allocations: 9.75 kB / 483.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.416e-05/0.003726, allocations: 30.75 kB / 483.8 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.003909, allocations: 29.5 kB / 483.9 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.593e-05/0.003955, allocations: 114.9 kB / 484 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.003962, allocations: 1.625 kB / 484 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-06/0.003968, allocations: 1.5 kB / 484 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.535e-05/0.004034, allocations: 49 kB / 484 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-06/0.004037, allocations: 0 / 484 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.004043, allocations: 2 kB / 484 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-06/0.004045, allocations: 0 / 484 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.0041, allocations: 22.03 kB / 484 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.2e-05/0.004172, allocations: 136.8 kB / 484.2 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.004243, allocations: 39.38 kB / 484.2 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.004276, allocations: 19.7 kB / 484.2 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.004284, allocations: 1.312 kB / 484.2 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.004296, allocations: 40.34 kB / 484.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.004297, allocations: 0 / 484.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.004434, allocations: 71.91 kB / 484.3 MB, free: 9.496 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.21e-05/0.004447, allocations: 56.47 kB / 484.4 MB, free: 9.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.004498, allocations: 120.6 kB / 484.5 MB, free: 9.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.004504, allocations: 28.02 kB / 484.5 MB, free: 9.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.004527, allocations: 94.08 kB / 484.6 MB, free: 9.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.00454, allocations: 12.03 kB / 484.7 MB, free: 9.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.004576, allocations: 24.78 kB / 484.7 MB, free: 9.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.004756, allocations: 313.7 kB / 485 MB, free: 24.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.004805, allocations: 21.31 kB / 485 MB, free: 24.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.004841, allocations: 23.12 kB / 485 MB, free: 24.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.004922, allocations: 48.83 kB / 485.1 MB, free: 24.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004923, allocations: 0 / 485.1 MB, free: 24.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001103/0.005033, allocations: 93.84 kB / 485.2 MB, free: 24.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.005044, allocations: 8.406 kB / 485.2 MB, free: 24.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.005054, allocations: 5.688 kB / 485.2 MB, free: 24.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.005062, allocations: 2.156 kB / 485.2 MB, free: 24.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.005469, allocations: 82.92 kB / 485.3 MB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.006553, allocations: 1.4 MB / 486.7 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.006579, allocations: 7.719 kB / 486.7 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006586, allocations: 5.969 kB / 486.7 MB, free: 23.42 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 4.729e-05/0.006633, allocations: 109.2 kB / 486.8 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.006645, allocations: 8.625 kB / 486.8 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.004e-05/0.006655, allocations: 9.688 kB / 486.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-07/0.006656, allocations: 0 / 486.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.71e-07/0.006657, allocations: 3.094 kB / 486.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.006658, allocations: 0 / 486.8 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.331e-05/0.006702, allocations: 130.4 kB / 486.9 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.006703, allocations: 0 / 486.9 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.007141, allocations: 104.8 kB / 487 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.007142, allocations: 0 / 487 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.007148, allocations: 7.406 kB / 487 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/0.008134, allocations: 1.394 MB / 488.4 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008135, allocations: 0 / 488.4 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.886e-05/0.008224, allocations: 94.52 kB / 488.5 MB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.00823, allocations: 6.562 kB / 488.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-06/0.008236, allocations: 1.094 kB / 488.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.008253, allocations: 1.375 kB / 488.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.008271, allocations: 4.359 kB / 488.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.008273, allocations: 1.312 kB / 488.5 MB, free: 21.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.008311, allocations: 95.81 kB / 488.6 MB, free: 21.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008311, allocations: 0 / 488.6 MB, free: 21.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.008468, allocations: 21.22 kB / 488.7 MB, free: 21.64 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.0003863/0.008854, allocations: 0.6383 MB / 489.3 MB, free: 21.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.009368, allocations: 158.4 kB / 489.4 MB, free: 20.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.009369, allocations: 1.906 kB / 489.5 MB, free: 20.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.009838, allocations: 119.8 kB / 489.6 MB, free: 20.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.009978, allocations: 17.28 kB / 489.6 MB, free: 20.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.01094, allocations: 1.284 MB / 490.9 MB, free: 19.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.814e-05/0.01096, allocations: 69.33 kB / 490.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.571e-05/0.01098, allocations: 0.875 kB / 490.9 MB, free: 19.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.011, allocations: 13.62 kB / 491 MB, free: 19.71 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.011, allocations: 0 / 491 MB, free: 19.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.02508, allocations: 3.343 MB / 494.3 MB, free: 18.6 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.004/8.029, allocations: 10.2 kB / 494.3 MB, free: 18.6 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.48094440397108]