Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.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.0008423/0.0008423, 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.001406/0.001406, allocations: 161.3 kB / 23.52 MB, free: 0.9102 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.9375/0.9375, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.5718/0.5718, allocations: 114.9 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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 480.3 MB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.251e-05, allocations: 4.984 kB / 480.3 MB, free: 12.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001419/0.001432, allocations: 1.36 MB / 481.7 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.002216, allocations: 0.8521 MB / 482.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.00225, allocations: 0 / 482.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.002266, allocations: 3.938 kB / 482.5 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.361e-05/0.002309, allocations: 19.02 kB / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.00281, allocations: 220.3 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.002877, allocations: 48.19 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.002911, allocations: 0.5625 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.002962, allocations: 27.55 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.003007, allocations: 15.59 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.003019, allocations: 2.344 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.003388, allocations: 378.1 kB / 483.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.003403, allocations: 5.75 kB / 483.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.003427, allocations: 17.64 kB / 483.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.003722, allocations: 305.6 kB / 483.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003724, allocations: 0 / 483.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003724, allocations: 1.594 kB / 483.5 MB, free: 10.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.003728, allocations: 1.219 kB / 483.5 MB, free: 10.37 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.0002986/0.004027, allocations: 339.7 kB / 483.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.004062, allocations: 9.469 kB / 483.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.074e-05/0.004083, allocations: 37.34 kB / 483.9 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.004264, allocations: 30.25 kB / 483.9 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.638e-05/0.004321, allocations: 109.3 kB / 484.1 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.004333, allocations: 1.406 kB / 484.1 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.004352, allocations: 8.156 kB / 484.1 MB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.004459, allocations: 77.44 kB / 484.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.004465, allocations: 1.938 kB / 484.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.00454, allocations: 0 / 484.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.004544, allocations: 1.062 kB / 484.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.004619, allocations: 32.62 kB / 484.2 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.004723, allocations: 148 kB / 484.3 MB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.00493, allocations: 60.05 kB / 484.4 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.004973, allocations: 28.28 kB / 484.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.004986, allocations: 0.9375 kB / 484.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.005, allocations: 40.59 kB / 484.4 MB, free: 9.523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.005, allocations: 0.5625 kB / 484.4 MB, free: 9.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001123/0.006123, allocations: 406 kB / 484.8 MB, free: 9.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.006143, allocations: 52.88 kB / 484.9 MB, free: 9.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.594e-05/0.006199, allocations: 129 kB / 485 MB, free: 9.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.006207, allocations: 27.14 kB / 485 MB, free: 9.102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.583e-05/0.006223, allocations: 85.34 kB / 485.1 MB, free: 9.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.006241, allocations: 25.97 kB / 485.2 MB, free: 8.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.006279, allocations: 31.5 kB / 485.2 MB, free: 8.973 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.00644, allocations: 321.9 kB / 485.5 MB, free: 24.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.006527, allocations: 41.14 kB / 485.5 MB, free: 24.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.006607, allocations: 54.02 kB / 485.6 MB, free: 24.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.006761, allocations: 99.88 kB / 485.7 MB, free: 24.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006762, allocations: 0 / 485.7 MB, free: 24.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002018/0.006964, allocations: 153.8 kB / 485.8 MB, free: 24.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006975, allocations: 5.156 kB / 485.8 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.006986, allocations: 5.531 kB / 485.9 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.006999, allocations: 1.188 kB / 485.9 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.007072, allocations: 18.97 kB / 485.9 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.007077, allocations: 1.406 kB / 485.9 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.007122, allocations: 10.66 kB / 485.9 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.00713, allocations: 3.469 kB / 485.9 MB, free: 24.5 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 5.881e-05/0.007189, allocations: 113.1 kB / 486 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.007204, allocations: 12.44 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.007232, allocations: 4.438 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.007234, allocations: 5.641 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007238, allocations: 1.188 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007241, allocations: 0 / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.007646, allocations: 345.6 kB / 486.4 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007647, allocations: 0 / 486.4 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.007718, allocations: 19.14 kB / 486.4 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.00772, allocations: 6.031 kB / 486.4 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.007728, allocations: 1.938 kB / 486.4 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.00773, allocations: 2.094 kB / 486.4 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007731, allocations: 0 / 486.4 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.008016, allocations: 240.2 kB / 486.6 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.00804, allocations: 17.42 kB / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.008054, allocations: 0 / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.008119, allocations: 11.97 kB / 486.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.008135, allocations: 4.203 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.008143, allocations: 4 kB / 486.7 MB, free: 23.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.008184, allocations: 96.92 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008184, allocations: 0 / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.008378, allocations: 27.41 kB / 486.8 MB, free: 23.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0004906/0.008869, allocations: 0.804 MB / 487.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.009085, allocations: 117.4 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009086, allocations: 1.031 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.009153, allocations: 33.8 kB / 487.7 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.009364, allocations: 14.53 kB / 487.7 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.01085, allocations: 1.622 MB / 489.4 MB, free: 21.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.64e-05/0.01089, allocations: 71.67 kB / 489.4 MB, free: 21.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.178e-05/0.01094, allocations: 7.562 kB / 489.4 MB, free: 21.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.01099, allocations: 26.91 kB / 489.5 MB, free: 21.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01099, allocations: 0.75 kB / 489.5 MB, free: 21.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.03124, allocations: 3.814 MB / 493.3 MB, free: 20.46 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.224/7.255, allocations: 11.12 kB / 493.3 MB, free: 20.45 MB / 426.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck_OMSimulator_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_OMSimulator.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.782025078995503]