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.0008351/0.0008351, allocations: 103.7 kB / 19.7 MB, free: 452 kB / 13.93 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.0008869/0.0008869, allocations: 212.2 kB / 22.99 MB, free: 2.977 MB / 13.93 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.9802/0.9802, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.6536/0.6536, allocations: 151.4 MB / 464.5 MB, free: 12.98 MB / 362.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009454/0.0009454, allocations: 74.7 kB / 0.6433 GB, free: 17.95 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1369, allocations: 89.56 MB / 0.7308 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001969/0.1388, allocations: 1.352 MB / 0.7321 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.1397, allocations: 0.864 MB / 0.733 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.1398, allocations: 0 / 0.733 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.1398, allocations: 7.922 kB / 0.733 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.1398, allocations: 7.875 kB / 0.733 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1403, allocations: 215 kB / 0.7332 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.069e-05/0.1404, allocations: 39.86 kB / 0.7332 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.1404, allocations: 3.938 kB / 0.7332 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.1404, allocations: 23.92 kB / 0.7332 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.1405, allocations: 19.84 kB / 0.7333 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1405, allocations: 4 kB / 0.7333 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.1409, allocations: 371.5 kB / 0.7336 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.1409, allocations: 11.97 kB / 0.7336 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.1409, allocations: 15.88 kB / 0.7336 GB, free: 5.438 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.1412, allocations: 263.3 kB / 0.7339 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1412, allocations: 7.938 kB / 0.7339 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1412, allocations: 3.938 kB / 0.7339 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.1412, allocations: 0 / 0.7339 GB, free: 5.168 MB / 0.5417 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.0003687/0.1416, allocations: 349.3 kB / 0.7342 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1416, allocations: 8.031 kB / 0.7342 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.1416, allocations: 34.75 kB / 0.7343 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1418, allocations: 24.86 kB / 0.7343 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.287e-05/0.1419, allocations: 114.5 kB / 0.7344 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1419, allocations: 4.375 kB / 0.7344 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1419, allocations: 4.125 kB / 0.7344 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1421, allocations: 83.38 kB / 0.7345 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1421, allocations: 0 / 0.7345 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1421, allocations: 0 / 0.7345 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1421, allocations: 0 / 0.7345 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.1422, allocations: 27.97 kB / 0.7345 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.1423, allocations: 140.7 kB / 0.7347 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1425, allocations: 66.47 kB / 0.7347 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.1426, allocations: 28.88 kB / 0.7348 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.1426, allocations: 4 kB / 0.7348 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1426, allocations: 38.56 kB / 0.7348 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1426, allocations: 0 / 0.7348 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.00114/0.1437, allocations: 401.2 kB / 0.7352 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1438, allocations: 55.39 kB / 0.7352 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.1438, allocations: 128.5 kB / 0.7353 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1439, allocations: 25.7 kB / 0.7354 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.1439, allocations: 88.12 kB / 0.7355 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1439, allocations: 19.8 kB / 0.7355 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1439, allocations: 33.7 kB / 0.7355 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.144, allocations: 318.8 kB / 0.7358 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.1441, allocations: 51.84 kB / 0.7359 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.1442, allocations: 51.97 kB / 0.7359 GB, free: 2.891 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1443, allocations: 94.8 kB / 0.736 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1443, allocations: 7.938 kB / 0.736 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002031/0.1445, allocations: 145.6 kB / 0.7361 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1446, allocations: 4 kB / 0.7362 GB, free: 2.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1446, allocations: 7.984 kB / 0.7362 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1446, allocations: 0 / 0.7362 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.1447, allocations: 27.97 kB / 0.7362 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1447, allocations: 4 kB / 0.7362 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.1447, allocations: 4 kB / 0.7362 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1447, allocations: 4 kB / 0.7362 GB, free: 2.59 MB / 0.5417 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.975e-05/0.1448, allocations: 121.7 kB / 0.7363 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1448, allocations: 7.953 kB / 0.7363 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.1448, allocations: 12.31 kB / 0.7363 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1448, allocations: 0 / 0.7363 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1448, allocations: 4 kB / 0.7363 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1448, allocations: 0 / 0.7363 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.1453, allocations: 342.4 kB / 0.7367 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1453, allocations: 0 / 0.7367 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.1453, allocations: 15.98 kB / 0.7367 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1453, allocations: 0 / 0.7367 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1453, allocations: 8 kB / 0.7367 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1454, allocations: 0 / 0.7367 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1454, allocations: 3.984 kB / 0.7367 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.1456, allocations: 244.4 kB / 0.7369 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.1457, allocations: 11.97 kB / 0.7369 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1457, allocations: 0 / 0.7369 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.384e-05/0.1457, allocations: 4 kB / 0.7369 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.1458, allocations: 7.984 kB / 0.7369 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1458, allocations: 7.938 kB / 0.737 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.1458, allocations: 95.27 kB / 0.737 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1458, allocations: 0 / 0.737 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001837/0.146, allocations: 27.92 kB / 0.7371 GB, free: 1.613 MB / 0.5417 GB 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.0004781/0.1465, allocations: 0.7915 MB / 0.7378 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1467, allocations: 121.6 kB / 0.738 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1467, allocations: 0 / 0.738 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.1467, allocations: 35.91 kB / 0.738 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.147, allocations: 19.06 kB / 0.738 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1486, allocations: 1.643 MB / 0.7396 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.1487, allocations: 71.2 kB / 0.7397 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.1487, allocations: 11.91 kB / 0.7397 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.1488, allocations: 23.42 kB / 0.7397 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.1488, allocations: 3.938 kB / 0.7397 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.1676, allocations: 3.421 MB / 0.7431 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/7.032, allocations: 6.75 kB / 0.7431 GB, free: 11.45 MB / 0.5573 GB " [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.857862927005044]