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.0008382/0.0008382, 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.0008944/0.0008944, 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.8639/0.8639, allocations: 177.1 MB / 203.9 MB, free: 5.566 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.5955/0.5955, 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_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.583e-06/1.583e-06, allocations: 0 / 480.3 MB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.554e-05, allocations: 5.125 kB / 480.3 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001516/0.001531, allocations: 1.361 MB / 481.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.00237, allocations: 0.8628 MB / 482.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.002408, allocations: 0.75 kB / 482.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.002425, allocations: 3.938 kB / 482.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.002475, allocations: 10.11 kB / 482.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.002999, allocations: 223.6 kB / 482.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.003068, allocations: 49.64 kB / 482.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.00311, allocations: 5.359 kB / 482.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.003167, allocations: 21.08 kB / 482.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.003216, allocations: 14.22 kB / 482.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.003231, allocations: 5.5 kB / 482.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.003621, allocations: 372.8 kB / 483.2 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003639, allocations: 11.44 kB / 483.2 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.003668, allocations: 10.97 kB / 483.2 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.004009, allocations: 306.3 kB / 483.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004012, allocations: 5.5 kB / 483.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004013, allocations: 0 / 483.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.004017, allocations: 1.75 kB / 483.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003604/0.004378, allocations: 340.6 kB / 483.9 MB, free: 9.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.004422, allocations: 9.406 kB / 483.9 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.403e-05/0.004446, allocations: 31.91 kB / 483.9 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.004656, allocations: 39.19 kB / 484 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.703e-05/0.004723, allocations: 106.2 kB / 484.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.004738, allocations: 1.406 kB / 484.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.00476, allocations: 7.219 kB / 484.1 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.004905, allocations: 80.34 kB / 484.1 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.004913, allocations: 2.062 kB / 484.1 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.004923, allocations: 4 kB / 484.2 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.004929, allocations: 1.156 kB / 484.2 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-05/0.005007, allocations: 25.7 kB / 484.2 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.005134, allocations: 143.9 kB / 484.3 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.005364, allocations: 64.16 kB / 484.4 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.005412, allocations: 32.44 kB / 484.4 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.005428, allocations: 0.875 kB / 484.4 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.005444, allocations: 35.59 kB / 484.5 MB, free: 9.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.005445, allocations: 0 / 484.5 MB, free: 9.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001213/0.006658, allocations: 408.7 kB / 484.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.006682, allocations: 52.59 kB / 484.9 MB, free: 9.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.00675, allocations: 127.8 kB / 485 MB, free: 9.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.006762, allocations: 30.8 kB / 485.1 MB, free: 9.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.006788, allocations: 88.81 kB / 485.1 MB, free: 8.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.006811, allocations: 19.45 kB / 485.2 MB, free: 8.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.006853, allocations: 39.09 kB / 485.2 MB, free: 8.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.007027, allocations: 313 kB / 485.5 MB, free: 24.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.00712, allocations: 53.06 kB / 485.6 MB, free: 24.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.007196, allocations: 49.98 kB / 485.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.007354, allocations: 92.64 kB / 485.7 MB, free: 24.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.007355, allocations: 2.062 kB / 485.7 MB, free: 24.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002113/0.007566, allocations: 153.4 kB / 485.8 MB, free: 24.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.007579, allocations: 4.938 kB / 485.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.007591, allocations: 2.531 kB / 485.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.007608, allocations: 1.188 kB / 485.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.724e-05/0.007685, allocations: 19.91 kB / 485.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.007691, allocations: 1 kB / 485.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.007736, allocations: 8.5 kB / 485.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.007753, allocations: 7.125 kB / 485.9 MB, free: 24.45 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 6.478e-05/0.007818, allocations: 111.2 kB / 486 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.007834, allocations: 12.22 kB / 486 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.007875, allocations: 6.156 kB / 486 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.007879, allocations: 1.062 kB / 486 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.007884, allocations: 1.438 kB / 486 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.007887, allocations: 0 / 486 MB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.008327, allocations: 346 kB / 486.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.008328, allocations: 1.156 kB / 486.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.008406, allocations: 20.78 kB / 486.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.00841, allocations: 1.062 kB / 486.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.00842, allocations: 1.125 kB / 486.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.008423, allocations: 1.188 kB / 486.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008425, allocations: 1.625 kB / 486.4 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.008753, allocations: 242.4 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.008784, allocations: 15.09 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.008799, allocations: 1.219 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.008866, allocations: 9.625 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.008888, allocations: 2.594 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.008897, allocations: 8.688 kB / 486.7 MB, free: 23.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.008941, allocations: 93.08 kB / 486.7 MB, free: 23.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008941, allocations: 0 / 486.7 MB, free: 23.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000186/0.009127, allocations: 27.31 kB / 486.8 MB, free: 23.75 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.0005082/0.009635, allocations: 0.7861 MB / 487.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.009857, allocations: 123.5 kB / 487.7 MB, free: 22.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.009859, allocations: 6.688 kB / 487.7 MB, free: 22.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.009923, allocations: 33.94 kB / 487.7 MB, free: 22.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.01013, allocations: 19.28 kB / 487.7 MB, free: 22.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.01155, allocations: 1.623 MB / 489.4 MB, free: 21.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.058e-05/0.01159, allocations: 73.47 kB / 489.4 MB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.01165, allocations: 6.969 kB / 489.4 MB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.01172, allocations: 23.66 kB / 489.5 MB, free: 21.54 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01172, allocations: 2.281 kB / 489.5 MB, free: 21.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.0337, allocations: 3.83 MB / 493.3 MB, free: 20.44 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.218/7.252, allocations: 13.36 kB / 493.3 MB, free: 20.44 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.730357444961555]