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.0007619/0.0007619, 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.0007884/0.0007884, 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.9042/0.9042, allocations: 177.1 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.5754/0.5754, allocations: 114.9 MB / 375.3 MB, free: 7.562 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.323e-06/1.323e-06, allocations: 0 / 480.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.172e-05, allocations: 2.312 kB / 480.3 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001392/0.001403, allocations: 1.362 MB / 481.7 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000803/0.002206, allocations: 0.8559 MB / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.002239, allocations: 1 kB / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.002256, allocations: 3.422 kB / 482.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.002303, allocations: 10.59 kB / 482.5 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.002788, allocations: 224.1 kB / 482.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.843e-05/0.002857, allocations: 42.22 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.002896, allocations: 6.281 kB / 482.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.002951, allocations: 28.31 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.003, allocations: 19.64 kB / 482.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.003013, allocations: 3.5 kB / 482.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.00339, allocations: 369.9 kB / 483.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.003407, allocations: 10.19 kB / 483.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.003433, allocations: 19.66 kB / 483.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.003737, allocations: 298.3 kB / 483.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003739, allocations: 0 / 483.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.003741, allocations: 2.531 kB / 483.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.003744, allocations: 0 / 483.5 MB, free: 10.36 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.0003158/0.00406, allocations: 343 kB / 483.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.004097, allocations: 9.906 kB / 483.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.211e-05/0.004119, allocations: 31.91 kB / 483.9 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.004315, allocations: 35.31 kB / 483.9 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.042e-05/0.004375, allocations: 106.3 kB / 484 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.004388, allocations: 1.531 kB / 484 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.004407, allocations: 3.031 kB / 484 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.00453, allocations: 85.66 kB / 484.1 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.004536, allocations: 0 / 484.1 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.004546, allocations: 9.047 kB / 484.1 MB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.004551, allocations: 2.062 kB / 484.1 MB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.004629, allocations: 28.27 kB / 484.2 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.004749, allocations: 155.5 kB / 484.3 MB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.004968, allocations: 60.69 kB / 484.4 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.00502, allocations: 23.31 kB / 484.4 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.005036, allocations: 2.344 kB / 484.4 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.005052, allocations: 39.59 kB / 484.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.005053, allocations: 0 / 484.4 MB, free: 9.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001157/0.00621, allocations: 404.1 kB / 484.8 MB, free: 9.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.686e-05/0.006227, allocations: 52.91 kB / 484.9 MB, free: 9.234 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.006292, allocations: 128.7 kB / 485 MB, free: 9.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.006301, allocations: 29.7 kB / 485 MB, free: 9.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.006319, allocations: 85.53 kB / 485.1 MB, free: 9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.006339, allocations: 19.67 kB / 485.1 MB, free: 8.984 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.006381, allocations: 35 kB / 485.2 MB, free: 8.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.006566, allocations: 316.3 kB / 485.5 MB, free: 24.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.845e-05/0.006655, allocations: 46.95 kB / 485.5 MB, free: 24.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.006731, allocations: 50.91 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.006886, allocations: 99.33 kB / 485.7 MB, free: 24.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006887, allocations: 2.031 kB / 485.7 MB, free: 24.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000202/0.007089, allocations: 152.4 kB / 485.8 MB, free: 24.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007102, allocations: 8.938 kB / 485.8 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.007112, allocations: 1.344 kB / 485.8 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.007126, allocations: 1.438 kB / 485.8 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.007196, allocations: 20.28 kB / 485.9 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.007201, allocations: 0 / 485.9 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.007243, allocations: 5.375 kB / 485.9 MB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.007253, allocations: 9.656 kB / 485.9 MB, free: 24.49 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.471e-05/0.007308, allocations: 112.2 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.007322, allocations: 8.594 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.007349, allocations: 9.812 kB / 486 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.007352, allocations: 1.219 kB / 486 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007355, allocations: 0 / 486 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007359, allocations: 4.406 kB / 486 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.007769, allocations: 345 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.00777, allocations: 0.8438 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.007838, allocations: 22.36 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.007841, allocations: 5.188 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.007849, allocations: 4.578 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.00785, allocations: 0 / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007851, allocations: 1.469 kB / 486.4 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.008126, allocations: 243.5 kB / 486.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.008151, allocations: 14.06 kB / 486.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.008165, allocations: 1.125 kB / 486.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.008228, allocations: 5.297 kB / 486.6 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.008246, allocations: 11.58 kB / 486.6 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.008252, allocations: 4.672 kB / 486.7 MB, free: 23.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.597e-05/0.008288, allocations: 95.7 kB / 486.7 MB, free: 23.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008288, allocations: 0 / 486.7 MB, free: 23.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.008458, allocations: 26.78 kB / 486.8 MB, free: 23.78 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.0005132/0.008971, allocations: 0.7962 MB / 487.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.009188, allocations: 110.8 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.009189, allocations: 1.156 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.009257, allocations: 38.95 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.0002149/0.009471, allocations: 24.33 kB / 487.7 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.01095, allocations: 1.625 MB / 489.4 MB, free: 21.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.01099, allocations: 76.67 kB / 489.4 MB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.01103, allocations: 8.969 kB / 489.4 MB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.01109, allocations: 23.83 kB / 489.5 MB, free: 21.57 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01109, allocations: 0 / 489.5 MB, free: 21.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.02716, allocations: 3.831 MB / 493.3 MB, free: 20.45 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.226/7.253, allocations: 9.422 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.657580807048362]