Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.0008184/0.0008184, 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.0008506/0.0008506, allocations: 161.3 kB / 23.52 MB, free: 0.9062 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.9015/0.9015, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.5867/0.5867, allocations: 115 MB / 375.3 MB, free: 7.59 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_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 480.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.323e-05, allocations: 4.984 kB / 480.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001811/0.001834, allocations: 1.372 MB / 481.7 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.00271, allocations: 0.8493 MB / 482.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.002749, allocations: 3.125 kB / 482.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.002768, allocations: 8.688 kB / 482.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.00282, allocations: 7.875 kB / 482.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005779/0.003398, allocations: 221.4 kB / 482.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.003474, allocations: 47.08 kB / 482.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.003515, allocations: 1.531 kB / 482.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.003579, allocations: 31.7 kB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.003637, allocations: 11.75 kB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.003652, allocations: 4.281 kB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.00407, allocations: 377.3 kB / 483.2 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.004092, allocations: 14.8 kB / 483.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.004125, allocations: 13.06 kB / 483.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.004497, allocations: 301.4 kB / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.004502, allocations: 0 / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.004504, allocations: 0.9062 kB / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.00451, allocations: 0 / 483.5 MB, free: 10.3 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.0004449/0.004955, allocations: 344.7 kB / 483.9 MB, free: 9.969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.005009, allocations: 10.97 kB / 483.9 MB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.005036, allocations: 33.98 kB / 483.9 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.005299, allocations: 34.38 kB / 483.9 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.245e-05/0.005391, allocations: 110.7 kB / 484.1 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.005413, allocations: 2.281 kB / 484.1 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.00545, allocations: 2.781 kB / 484.1 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.005646, allocations: 85.48 kB / 484.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005654, allocations: 0 / 484.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.005666, allocations: 1.594 kB / 484.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.005674, allocations: 1.094 kB / 484.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.00578, allocations: 29.27 kB / 484.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.005954, allocations: 146.1 kB / 484.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.00626, allocations: 60.22 kB / 484.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.006323, allocations: 28.25 kB / 484.4 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.006348, allocations: 1.062 kB / 484.4 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.006375, allocations: 37.47 kB / 484.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.775e-06/0.006377, allocations: 0 / 484.4 MB, free: 9.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001407/0.007784, allocations: 409 kB / 484.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.00781, allocations: 52.5 kB / 484.9 MB, free: 9.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.007882, allocations: 125.5 kB / 485 MB, free: 9.059 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.007893, allocations: 30.73 kB / 485 MB, free: 9.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.946e-05/0.007913, allocations: 85.97 kB / 485.1 MB, free: 8.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.007936, allocations: 21.27 kB / 485.1 MB, free: 8.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.00799, allocations: 32.95 kB / 485.2 MB, free: 8.898 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.008237, allocations: 315.9 kB / 485.5 MB, free: 24.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.00834, allocations: 45.77 kB / 485.5 MB, free: 24.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.552e-05/0.008425, allocations: 53.88 kB / 485.6 MB, free: 24.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.008592, allocations: 94.59 kB / 485.7 MB, free: 24.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008594, allocations: 0 / 485.7 MB, free: 24.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002428/0.008837, allocations: 154.4 kB / 485.8 MB, free: 24.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.008857, allocations: 6.719 kB / 485.8 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.008876, allocations: 3.844 kB / 485.8 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.008899, allocations: 8.609 kB / 485.8 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.00899, allocations: 14.92 kB / 485.9 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.008998, allocations: 1.938 kB / 485.9 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.009051, allocations: 10.03 kB / 485.9 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.009063, allocations: 3 kB / 485.9 MB, free: 24.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 (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 8.058e-05/0.009144, allocations: 114.3 kB / 486 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.009165, allocations: 11.72 kB / 486 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.009213, allocations: 9.281 kB / 486 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.009217, allocations: 0 / 486 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.009223, allocations: 2.125 kB / 486 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.009228, allocations: 0 / 486 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.009798, allocations: 350.1 kB / 486.4 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.009801, allocations: 0 / 486.4 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.009902, allocations: 20.39 kB / 486.4 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.009907, allocations: 1.219 kB / 486.4 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.00992, allocations: 2.625 kB / 486.4 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.009926, allocations: 1.281 kB / 486.4 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.009929, allocations: 0 / 486.4 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.01032, allocations: 239 kB / 486.6 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.01037, allocations: 12.23 kB / 486.6 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.01039, allocations: 1.062 kB / 486.6 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.01046, allocations: 9.453 kB / 486.6 MB, free: 23.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.01048, allocations: 8.797 kB / 486.6 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.01049, allocations: 4.031 kB / 486.6 MB, free: 23.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.01054, allocations: 95.39 kB / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 0 / 486.7 MB, free: 23.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.01075, allocations: 26.56 kB / 486.8 MB, free: 23.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005767/0.01132, allocations: 0.7957 MB / 487.6 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01156, allocations: 121.4 kB / 487.7 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01157, allocations: 0 / 487.7 MB, free: 22.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.01163, allocations: 38.94 kB / 487.7 MB, free: 22.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01192, allocations: 9.062 kB / 487.7 MB, free: 22.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.01355, allocations: 1.628 MB / 489.4 MB, free: 21.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.398e-05/0.01359, allocations: 72.11 kB / 489.4 MB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.01364, allocations: 7.688 kB / 489.4 MB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.01371, allocations: 27.47 kB / 489.5 MB, free: 21.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/0.01372, allocations: 0 / 489.5 MB, free: 21.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.03388, allocations: 3.807 MB / 493.3 MB, free: 20.4 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.267/7.301, allocations: 12.25 kB / 493.3 MB, free: 20.4 MB / 426.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck_OMSimulator_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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_m_flow_DerivativeCheck_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.724994626005355]