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.001035/0.001035, allocations: 92.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.001142/0.001142, 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.9433/0.9433, 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.6047/0.6047, allocations: 114.9 MB / 375.3 MB, free: 7.586 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.673e-06/1.673e-06, allocations: 0 / 480.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.578e-05, allocations: 2.312 kB / 480.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001882/0.001907, allocations: 1.372 MB / 481.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000927/0.002834, allocations: 0.8732 MB / 482.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.002887, allocations: 1.75 kB / 482.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.00291, allocations: 3.938 kB / 482.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-05/0.002969, allocations: 9.438 kB / 482.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.00361, allocations: 225.9 kB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.746e-05/0.003697, allocations: 55.17 kB / 482.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.003745, allocations: 6.625 kB / 482.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.003802, allocations: 30.14 kB / 482.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.003864, allocations: 20.91 kB / 482.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.00388, allocations: 2.594 kB / 482.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.004311, allocations: 377.5 kB / 483.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.004331, allocations: 13.67 kB / 483.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.004362, allocations: 19.11 kB / 483.3 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.004709, allocations: 307.4 kB / 483.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004711, allocations: 0 / 483.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004712, allocations: 1.188 kB / 483.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004717, allocations: 0 / 483.6 MB, free: 10.26 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.0003749/0.005092, allocations: 356 kB / 483.9 MB, free: 9.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.005137, allocations: 11.56 kB / 484 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.005165, allocations: 32.56 kB / 484 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.00539, allocations: 31.08 kB / 484 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.065e-05/0.00546, allocations: 120 kB / 484.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.005476, allocations: 4.469 kB / 484.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.005499, allocations: 7.656 kB / 484.1 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.00564, allocations: 115.9 kB / 484.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.005651, allocations: 0 / 484.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005661, allocations: 2.125 kB / 484.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005666, allocations: 1.406 kB / 484.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.00576, allocations: 32.75 kB / 484.3 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.005887, allocations: 145.5 kB / 484.4 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.00604, allocations: 83.77 kB / 484.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.006094, allocations: 34.53 kB / 484.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.006109, allocations: 1.062 kB / 484.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.006128, allocations: 40.22 kB / 484.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.006129, allocations: 0 / 484.6 MB, free: 9.359 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.002817/0.008945, allocations: 0.9692 MB / 485.6 MB, free: 8.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.008966, allocations: 52.59 kB / 485.6 MB, free: 8.871 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.009027, allocations: 124.3 kB / 485.7 MB, free: 8.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.009043, allocations: 28.33 kB / 485.8 MB, free: 8.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.009064, allocations: 92.86 kB / 485.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.009096, allocations: 39.83 kB / 485.9 MB, free: 8.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.009154, allocations: 42.27 kB / 485.9 MB, free: 8.578 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.009376, allocations: 323.1 kB / 486.2 MB, free: 24.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.009521, allocations: 81.94 kB / 486.3 MB, free: 24.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.009657, allocations: 94.12 kB / 486.4 MB, free: 24.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.00993, allocations: 187.3 kB / 486.6 MB, free: 24.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009932, allocations: 5.188 kB / 486.6 MB, free: 24.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003549/0.01029, allocations: 242.8 kB / 486.8 MB, free: 24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.0103, allocations: 4.5 kB / 486.8 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.01031, allocations: 2.031 kB / 486.9 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.01033, allocations: 1.156 kB / 486.9 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.01049, allocations: 38.92 kB / 486.9 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.01049, allocations: 0 / 486.9 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.01058, allocations: 13.95 kB / 486.9 MB, free: 23.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.01059, allocations: 6.5 kB / 486.9 MB, free: 23.99 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.645e-05/0.01067, allocations: 113.2 kB / 487 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.0107, allocations: 17.72 kB / 487 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.01073, allocations: 17.45 kB / 487.1 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01073, allocations: 2.312 kB / 487.1 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01074, allocations: 1.531 kB / 487.1 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01074, allocations: 0 / 487.1 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.01129, allocations: 427.3 kB / 487.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01129, allocations: 4.484 kB / 487.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.01143, allocations: 29.28 kB / 487.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01144, allocations: 5.688 kB / 487.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.01145, allocations: 5.438 kB / 487.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01145, allocations: 0 / 487.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01146, allocations: 3.188 kB / 487.5 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.01197, allocations: 381.9 kB / 487.9 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.01198, allocations: 6.766 kB / 487.9 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.012, allocations: 4.844 kB / 487.9 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.0121, allocations: 6.656 kB / 487.9 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.01213, allocations: 13.31 kB / 487.9 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.01214, allocations: 9.359 kB / 487.9 MB, free: 23.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.01218, allocations: 91.3 kB / 488 MB, free: 23.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01218, allocations: 1.438 kB / 488 MB, free: 23.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.01238, allocations: 41.91 kB / 488.1 MB, free: 23.2 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.0007404/0.01312, allocations: 0.9157 MB / 489 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.01348, allocations: 196.6 kB / 489.2 MB, free: 22.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01348, allocations: 0 / 489.2 MB, free: 22.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.01362, allocations: 79.73 kB / 489.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.01389, allocations: 32.44 kB / 489.3 MB, free: 22.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.01614, allocations: 2.018 MB / 491.3 MB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.021e-05/0.01619, allocations: 83.41 kB / 491.4 MB, free: 20.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.364e-05/0.01628, allocations: 21.83 kB / 491.4 MB, free: 20.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.01637, allocations: 28.72 kB / 491.4 MB, free: 20.8 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01637, allocations: 0 / 491.4 MB, free: 20.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.04035, allocations: 4.592 MB / 496 MB, free: 19.59 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.544/7.584, allocations: 12.23 kB / 496 MB, free: 19.59 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: 10.153075983049348]