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.0008757/0.0008757, allocations: 91.08 kB / 20.2 MB, free: 4.188 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.000831/0.000831, allocations: 161.3 kB / 23.52 MB, free: 0.875 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.9833/0.9833, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.5962/0.5962, allocations: 115 MB / 375.3 MB, free: 7.598 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.343e-06/1.343e-06, allocations: 0 / 480.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.168e-05, allocations: 2.312 kB / 480.3 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001974/0.001995, allocations: 1.404 MB / 481.7 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003016, allocations: 1.009 MB / 482.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.003069, allocations: 0 / 482.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.00309, allocations: 4.562 kB / 482.7 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.0032, allocations: 18.91 kB / 482.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.003834, allocations: 248.4 kB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.003938, allocations: 79.83 kB / 483.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.003978, allocations: 0.5625 kB / 483.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.004036, allocations: 36.89 kB / 483.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.004124, allocations: 27.98 kB / 483.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.00414, allocations: 4.594 kB / 483.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.004633, allocations: 401.9 kB / 483.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.004659, allocations: 17.39 kB / 483.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.004696, allocations: 20.36 kB / 483.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.005084, allocations: 345.3 kB / 483.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.005088, allocations: 0 / 483.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.00509, allocations: 3.281 kB / 483.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.005096, allocations: 0 / 483.9 MB, free: 10.17 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.0004701/0.005566, allocations: 384.3 kB / 484.3 MB, free: 9.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.005613, allocations: 9.062 kB / 484.3 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.005638, allocations: 32.31 kB / 484.3 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.006009, allocations: 66.84 kB / 484.4 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.957e-05/0.006109, allocations: 127.1 kB / 484.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.006124, allocations: 1.438 kB / 484.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.00614, allocations: 14.81 kB / 484.5 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.006283, allocations: 58.58 kB / 484.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.006289, allocations: 1.25 kB / 484.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.0063, allocations: 0.9375 kB / 484.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.006305, allocations: 4 kB / 484.6 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.006437, allocations: 50.5 kB / 484.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.006564, allocations: 143.2 kB / 484.8 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.006774, allocations: 84.02 kB / 484.8 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.006843, allocations: 39.34 kB / 484.9 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.006858, allocations: 0 / 484.9 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.006873, allocations: 33.12 kB / 484.9 MB, free: 9.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.006874, allocations: 0.9375 kB / 484.9 MB, free: 9.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002975/0.007171, allocations: 117.3 kB / 485 MB, free: 9.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.007194, allocations: 52.97 kB / 485.1 MB, free: 9.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.007297, allocations: 159.9 kB / 485.2 MB, free: 9.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.007306, allocations: 25.7 kB / 485.3 MB, free: 9.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.007332, allocations: 90.91 kB / 485.4 MB, free: 8.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.007351, allocations: 18.09 kB / 485.4 MB, free: 8.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.007398, allocations: 28.62 kB / 485.4 MB, free: 8.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.007617, allocations: 324.5 kB / 485.7 MB, free: 24.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.007719, allocations: 45.69 kB / 485.8 MB, free: 24.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.007798, allocations: 48.02 kB / 485.8 MB, free: 24.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.007962, allocations: 103 kB / 485.9 MB, free: 24.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.007965, allocations: 1.281 kB / 485.9 MB, free: 24.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000234/0.008199, allocations: 151 kB / 486.1 MB, free: 24.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.008215, allocations: 6.781 kB / 486.1 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.008232, allocations: 1.344 kB / 486.1 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.008249, allocations: 1.406 kB / 486.1 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.008364, allocations: 22.83 kB / 486.1 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.008371, allocations: 1.531 kB / 486.1 MB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.008453, allocations: 18.55 kB / 486.1 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.008464, allocations: 5.594 kB / 486.1 MB, free: 24.45 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 (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 7.747e-05/0.008541, allocations: 108.6 kB / 486.2 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.00856, allocations: 15.48 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.008593, allocations: 6.25 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.008596, allocations: 2.5 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008601, allocations: 0 / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008605, allocations: 4.703 kB / 486.3 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.777e-05/0.008683, allocations: 140.4 kB / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008685, allocations: 0 / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.008748, allocations: 13.48 kB / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.008749, allocations: 0 / 486.4 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.00876, allocations: 8.406 kB / 486.4 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.008761, allocations: 0 / 486.4 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008762, allocations: 1.344 kB / 486.4 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.008941, allocations: 116.5 kB / 486.5 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.008959, allocations: 9.047 kB / 486.5 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.008977, allocations: 4.625 kB / 486.5 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.009027, allocations: 10.19 kB / 486.5 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.009047, allocations: 7.188 kB / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.009051, allocations: 1.844 kB / 486.6 MB, free: 24.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.009125, allocations: 114.9 kB / 486.7 MB, free: 23.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009125, allocations: 0 / 486.7 MB, free: 23.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000186/0.009311, allocations: 32.94 kB / 486.7 MB, free: 23.96 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.0004505/0.009761, allocations: 0.6665 MB / 487.4 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.01, allocations: 112.8 kB / 487.5 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01, allocations: 1.062 kB / 487.5 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.01007, allocations: 34.92 kB / 487.5 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.01033, allocations: 21.16 kB / 487.5 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.01203, allocations: 1.578 MB / 489.1 MB, free: 22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.01207, allocations: 75.28 kB / 489.2 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.475e-05/0.01213, allocations: 6.5 kB / 489.2 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.0122, allocations: 24.94 kB / 489.2 MB, free: 21.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0122, allocations: 0 / 489.2 MB, free: 21.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.03192, allocations: 4.069 MB / 493.3 MB, free: 20.74 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.373/7.405, allocations: 12.72 kB / 493.3 MB, free: 20.73 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: 10.01359532099741]