Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.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.0007682/0.0007682, 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.0007772/0.0007772, 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.8805/0.8805, allocations: 177.2 MB / 203.9 MB, free: 5.586 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.5815/0.5815, allocations: 114.9 MB / 375.3 MB, free: 7.57 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_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 5.25 kB / 480.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.097e-06/1.061e-05, allocations: 2.312 kB / 480.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001888/0.001899, allocations: 1.363 MB / 481.7 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009355/0.002834, allocations: 0.8755 MB / 482.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.002869, allocations: 0 / 482.5 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.002885, allocations: 3.938 kB / 482.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.002932, allocations: 11.16 kB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.003409, allocations: 220.3 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.423e-05/0.003494, allocations: 53.28 kB / 482.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.003536, allocations: 8.016 kB / 482.8 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.00359, allocations: 32.56 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.003643, allocations: 15.69 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.003655, allocations: 3.938 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.004009, allocations: 384.7 kB / 483.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.004025, allocations: 5.656 kB / 483.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.004055, allocations: 23.92 kB / 483.3 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.004378, allocations: 306 kB / 483.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.00438, allocations: 0 / 483.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004381, allocations: 0.8125 kB / 483.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.004385, allocations: 1.562 kB / 483.6 MB, free: 10.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003775/0.004762, allocations: 351.9 kB / 483.9 MB, free: 9.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.004803, allocations: 9.688 kB / 483.9 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.004828, allocations: 39.38 kB / 484 MB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.005023, allocations: 28.25 kB / 484 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.553e-05/0.005088, allocations: 117.4 kB / 484.1 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.005103, allocations: 4.281 kB / 484.1 MB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.005125, allocations: 8.281 kB / 484.1 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.005263, allocations: 118.8 kB / 484.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005274, allocations: 2.062 kB / 484.3 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.005287, allocations: 5.125 kB / 484.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005293, allocations: 1.094 kB / 484.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.005381, allocations: 37.17 kB / 484.3 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.005507, allocations: 144.6 kB / 484.4 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.005663, allocations: 76.36 kB / 484.5 MB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.005717, allocations: 38.62 kB / 484.5 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.005734, allocations: 4.906 kB / 484.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.005752, allocations: 36.72 kB / 484.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.005753, allocations: 0 / 484.6 MB, free: 9.418 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002795/0.008548, allocations: 0.9828 MB / 485.6 MB, free: 8.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.008567, allocations: 53.81 kB / 485.6 MB, free: 8.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.008619, allocations: 119.4 kB / 485.7 MB, free: 8.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.008634, allocations: 31.7 kB / 485.8 MB, free: 8.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.652e-05/0.008651, allocations: 86.66 kB / 485.9 MB, free: 8.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.008676, allocations: 35.27 kB / 485.9 MB, free: 8.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.008729, allocations: 46.3 kB / 485.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.00887, allocations: 320.7 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.00901, allocations: 84.33 kB / 486.3 MB, free: 24.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.009135, allocations: 92.53 kB / 486.4 MB, free: 24.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.009413, allocations: 185.5 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.009414, allocations: 0 / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003426/0.009757, allocations: 244.5 kB / 486.8 MB, free: 24.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.009769, allocations: 7.344 kB / 486.8 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.009781, allocations: 1.156 kB / 486.8 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.009796, allocations: 1.125 kB / 486.9 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.009947, allocations: 34.11 kB / 486.9 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.009953, allocations: 1.281 kB / 486.9 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.01003, allocations: 12.33 kB / 486.9 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.01005, allocations: 8.094 kB / 486.9 MB, free: 24.06 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 (14): * Single equations (assignments): 13 * 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.313e-05/0.01012, allocations: 117.6 kB / 487 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.01015, allocations: 17.86 kB / 487 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.01018, allocations: 10 kB / 487 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01019, allocations: 2.312 kB / 487 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.01019, allocations: 3.422 kB / 487.1 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.0102, allocations: 0 / 487.1 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.01073, allocations: 433.4 kB / 487.5 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01073, allocations: 0 / 487.5 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.01087, allocations: 40.84 kB / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01087, allocations: 2.656 kB / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01088, allocations: 4.422 kB / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01089, allocations: 1.188 kB / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01089, allocations: 0 / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.01139, allocations: 379.1 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.0114, allocations: 6.578 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.01142, allocations: 4.625 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01153, allocations: 14.22 kB / 487.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.01156, allocations: 6.547 kB / 487.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.01157, allocations: 5.875 kB / 487.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.106e-05/0.01161, allocations: 94.42 kB / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01161, allocations: 3.938 kB / 488 MB, free: 23.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.01181, allocations: 42.94 kB / 488.1 MB, free: 23.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0007216/0.01253, allocations: 0.9111 MB / 489 MB, free: 22.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.01286, allocations: 203.7 kB / 489.2 MB, free: 22.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01287, allocations: 1.531 kB / 489.2 MB, free: 22.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.01302, allocations: 80.5 kB / 489.3 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01326, allocations: 28.86 kB / 489.3 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.01543, allocations: 2.009 MB / 491.3 MB, free: 20.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.01548, allocations: 84.28 kB / 491.4 MB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.612e-05/0.01556, allocations: 21.83 kB / 491.4 MB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.01564, allocations: 32.09 kB / 491.4 MB, free: 20.86 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01564, allocations: 1.312 kB / 491.4 MB, free: 20.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.03213, allocations: 4.566 MB / 496 MB, free: 19.65 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.465/7.497, allocations: 5.703 kB / 496 MB, free: 19.65 MB / 426.7 MB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2_OMSimulator_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_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_DerivativeCheck2_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_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_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.876590011997905]