Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.0007584/0.0007584, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0007503/0.0007503, allocations: 210.6 kB / 22.25 MB, free: 3.578 MB / 13.93 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.8871/0.8871, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.89/1.89, allocations: 0.5056 GB / 0.8107 GB, free: 1.242 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008691/0.0008691, allocations: 67.89 kB / 1.178 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6693, allocations: 180.5 MB / 1.354 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001834/0.6712, allocations: 1.383 MB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.6721, allocations: 0.8713 MB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.6721, allocations: 0 / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.6721, allocations: 11.92 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.6722, allocations: 7.938 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.6727, allocations: 222.9 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.871e-05/0.6728, allocations: 55.78 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.6728, allocations: 4 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.6728, allocations: 27.91 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.6729, allocations: 19.92 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.6729, allocations: 4 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.6735, allocations: 379.5 kB / 1.357 GB, free: 11.97 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.6735, allocations: 7.938 kB / 1.357 GB, free: 11.96 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.6736, allocations: 27.86 kB / 1.357 GB, free: 11.93 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.6738, allocations: 269.4 kB / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6738, allocations: 0 / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6738, allocations: 0 / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.6738, allocations: 8 kB / 1.358 GB, free: 11.66 MB / 1.042 GB 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.0003853/0.6742, allocations: 353.3 kB / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.6743, allocations: 8.031 kB / 1.358 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.6743, allocations: 38.75 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.6745, allocations: 24.86 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.319e-05/0.6746, allocations: 106.5 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.6746, allocations: 384 / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.6746, allocations: 8.375 kB / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.6747, allocations: 117.6 kB / 1.358 GB, free: 10.94 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6748, allocations: 7.938 kB / 1.358 GB, free: 10.93 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.6748, allocations: 0 / 1.358 GB, free: 10.93 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.6748, allocations: 4 kB / 1.358 GB, free: 10.93 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.36e-05/0.6749, allocations: 31.97 kB / 1.358 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.675, allocations: 156.6 kB / 1.358 GB, free: 10.7 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.6751, allocations: 78.52 kB / 1.358 GB, free: 10.61 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.6752, allocations: 36.78 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.6752, allocations: 4 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.6752, allocations: 38.56 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.6752, allocations: 7.875 kB / 1.359 GB, free: 10.52 MB / 1.042 GB 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.002749/0.678, allocations: 0.9613 MB / 1.359 GB, free: 9.5 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.678, allocations: 51.41 kB / 1.36 GB, free: 9.438 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.6781, allocations: 125.8 kB / 1.36 GB, free: 9.305 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.6781, allocations: 25.7 kB / 1.36 GB, free: 9.273 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.6781, allocations: 88.42 kB / 1.36 GB, free: 9.18 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.6782, allocations: 47.62 kB / 1.36 GB, free: 9.133 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.6782, allocations: 41.69 kB / 1.36 GB, free: 9.086 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.6783, allocations: 322.8 kB / 1.36 GB, free: 8.762 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.6784, allocations: 83.95 kB / 1.36 GB, free: 8.68 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.6786, allocations: 83.94 kB / 1.36 GB, free: 8.598 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.6788, allocations: 195.2 kB / 1.361 GB, free: 8.406 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6788, allocations: 4 kB / 1.361 GB, free: 8.402 MB / 1.042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003355/0.6792, allocations: 245.5 kB / 1.361 GB, free: 8.156 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.6792, allocations: 6.031 kB / 1.361 GB, free: 8.152 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6792, allocations: 4 kB / 1.361 GB, free: 8.148 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6792, allocations: 0 / 1.361 GB, free: 8.148 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.6794, allocations: 31.97 kB / 1.361 GB, free: 8.117 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6794, allocations: 0 / 1.361 GB, free: 8.117 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.6794, allocations: 11.92 kB / 1.361 GB, free: 8.105 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.6795, allocations: 15.98 kB / 1.361 GB, free: 8.09 MB / 1.042 GB 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.346e-05/0.6795, allocations: 113.8 kB / 1.361 GB, free: 7.969 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.6795, allocations: 11.89 kB / 1.361 GB, free: 7.957 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.6796, allocations: 8.375 kB / 1.361 GB, free: 7.945 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6796, allocations: 0 / 1.361 GB, free: 7.945 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6796, allocations: 0 / 1.361 GB, free: 7.945 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6796, allocations: 4 kB / 1.361 GB, free: 7.941 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.6801, allocations: 429.4 kB / 1.361 GB, free: 7.473 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6801, allocations: 4 kB / 1.361 GB, free: 7.469 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.6803, allocations: 31.95 kB / 1.361 GB, free: 7.438 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.6803, allocations: 0 / 1.361 GB, free: 7.438 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.6803, allocations: 4 kB / 1.361 GB, free: 7.434 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6803, allocations: 0 / 1.361 GB, free: 7.434 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6803, allocations: 0 / 1.361 GB, free: 7.434 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004699/0.6808, allocations: 367.9 kB / 1.362 GB, free: 7.059 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.6808, allocations: 12.05 kB / 1.362 GB, free: 7.047 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.6808, allocations: 0 / 1.362 GB, free: 7.047 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.6809, allocations: 16.08 kB / 1.362 GB, free: 7.031 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.6809, allocations: 15.86 kB / 1.362 GB, free: 7.016 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.6809, allocations: 7.984 kB / 1.362 GB, free: 7.008 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.681, allocations: 95.31 kB / 1.362 GB, free: 6.914 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.681, allocations: 0 / 1.362 GB, free: 6.914 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001911/0.6812, allocations: 40 kB / 1.362 GB, free: 6.875 MB / 1.042 GB 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.0007259/0.6819, allocations: 0.9161 MB / 1.363 GB, free: 5.934 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.6822, allocations: 201.5 kB / 1.363 GB, free: 5.73 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6822, allocations: 0 / 1.363 GB, free: 5.73 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.6824, allocations: 79.88 kB / 1.363 GB, free: 5.652 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6826, allocations: 8 kB / 1.363 GB, free: 5.645 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.6851, allocations: 2.058 MB / 1.365 GB, free: 3.504 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.798e-05/0.6852, allocations: 83.02 kB / 1.365 GB, free: 3.402 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 9.203e-05/0.6852, allocations: 16.67 kB / 1.365 GB, free: 3.387 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.6853, allocations: 31.41 kB / 1.365 GB, free: 3.355 MB / 1.042 GB Notification: Performance of SimCode: time 1.132e-06/0.6853, allocations: 0 / 1.365 GB, free: 3.355 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.7014, allocations: 4.186 MB / 1.369 GB, free: 15.36 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.248/6.949, allocations: 19.06 kB / 1.369 GB, free: 15.34 MB / 1.057 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.269711416214705] Failed to read output from testmodel.py, exit status != 0: 7.025978424586356 7.034761143 6.359121048 Calling exit ...