Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.0008478/0.0008478, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009114/0.0009114, allocations: 212.1 kB / 22.25 MB, free: 3.57 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.9373/0.9373, allocations: 230.6 MB / 256 MB, free: 9.617 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.867/1.867, allocations: 0.5056 GB / 0.8107 GB, free: 1.301 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_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008907/0.0008907, allocations: 64.97 kB / 1.178 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2809, allocations: 180.5 MB / 1.354 GB, free: 6.312 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001722/0.2826, allocations: 1.365 MB / 1.356 GB, free: 4.938 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2838, allocations: 0.8678 MB / 1.357 GB, free: 4.066 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.2838, allocations: 0 / 1.357 GB, free: 4.066 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2838, allocations: 7.984 kB / 1.357 GB, free: 4.059 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.2839, allocations: 15.86 kB / 1.357 GB, free: 4.043 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.2844, allocations: 211 kB / 1.357 GB, free: 3.836 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.2845, allocations: 43.84 kB / 1.357 GB, free: 3.793 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.2845, allocations: 7.984 kB / 1.357 GB, free: 3.785 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.2845, allocations: 19.94 kB / 1.357 GB, free: 3.766 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.2846, allocations: 19.86 kB / 1.357 GB, free: 3.746 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.2846, allocations: 4 kB / 1.357 GB, free: 3.742 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.285, allocations: 375.5 kB / 1.357 GB, free: 3.375 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.285, allocations: 7.984 kB / 1.357 GB, free: 3.367 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.285, allocations: 15.88 kB / 1.357 GB, free: 3.352 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2853, allocations: 267.2 kB / 1.358 GB, free: 3.09 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2853, allocations: 0 / 1.358 GB, free: 3.09 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2853, allocations: 0 / 1.358 GB, free: 3.09 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2853, allocations: 3.938 kB / 1.358 GB, free: 3.086 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003525/0.2856, allocations: 353.3 kB / 1.358 GB, free: 2.707 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2857, allocations: 8.031 kB / 1.358 GB, free: 2.699 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.2857, allocations: 38.75 kB / 1.358 GB, free: 2.652 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.2858, allocations: 20.91 kB / 1.358 GB, free: 2.633 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.628e-05/0.2859, allocations: 118.5 kB / 1.358 GB, free: 2.492 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2859, allocations: 4.375 kB / 1.358 GB, free: 2.488 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.286, allocations: 384 / 1.358 GB, free: 2.488 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2861, allocations: 79.94 kB / 1.358 GB, free: 2.398 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2861, allocations: 3.938 kB / 1.358 GB, free: 2.395 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.2861, allocations: 0 / 1.358 GB, free: 2.395 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2861, allocations: 4 kB / 1.358 GB, free: 2.391 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.2862, allocations: 31.91 kB / 1.358 GB, free: 2.359 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.2863, allocations: 136.7 kB / 1.358 GB, free: 2.184 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.2865, allocations: 62.53 kB / 1.358 GB, free: 2.113 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.2865, allocations: 24.94 kB / 1.358 GB, free: 2.086 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2866, allocations: 0 / 1.358 GB, free: 2.086 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2866, allocations: 38.56 kB / 1.358 GB, free: 2.039 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 6.01e-07/0.2866, allocations: 3.938 kB / 1.358 GB, free: 2.035 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.001068/0.2877, allocations: 412.8 kB / 1.359 GB, free: 1.598 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.2877, allocations: 55.34 kB / 1.359 GB, free: 1.531 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.2877, allocations: 124.2 kB / 1.359 GB, free: 1.398 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2878, allocations: 37.64 kB / 1.359 GB, free: 1.355 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.2878, allocations: 88.12 kB / 1.359 GB, free: 1.266 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.2878, allocations: 19.8 kB / 1.359 GB, free: 1.246 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.2879, allocations: 37.69 kB / 1.359 GB, free: 1.203 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.2879, allocations: 314.8 kB / 1.359 GB, free: 0.8867 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.288, allocations: 43.97 kB / 1.359 GB, free: 0.8438 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.2881, allocations: 47.97 kB / 1.36 GB, free: 0.7969 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2882, allocations: 95.02 kB / 1.36 GB, free: 0.7031 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2882, allocations: 4 kB / 1.36 GB, free: 0.6992 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001925/0.2884, allocations: 149.5 kB / 1.36 GB, free: 0.5469 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2884, allocations: 4 kB / 1.36 GB, free: 0.543 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2884, allocations: 4.078 kB / 1.36 GB, free: 0.5391 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2885, allocations: 0 / 1.36 GB, free: 0.5391 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.2885, allocations: 19.97 kB / 1.36 GB, free: 0.5195 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2885, allocations: 3.984 kB / 1.36 GB, free: 0.5156 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.2886, allocations: 4 kB / 1.36 GB, free: 0.5117 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.2886, allocations: 11.98 kB / 1.36 GB, free: 0.5 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 (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.481e-05/0.2886, allocations: 113.8 kB / 1.36 GB, free: 388 kB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-06/0.2886, allocations: 7.891 kB / 1.36 GB, free: 380 kB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.2887, allocations: 8.375 kB / 1.36 GB, free: 368 kB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2887, allocations: 4.328 kB / 1.36 GB, free: 364 kB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2887, allocations: 0 / 1.36 GB, free: 364 kB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2887, allocations: 0 / 1.36 GB, free: 364 kB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.2891, allocations: 338.5 kB / 1.36 GB, free: 15.97 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2891, allocations: 12.02 kB / 1.36 GB, free: 15.96 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.2892, allocations: 15.98 kB / 1.36 GB, free: 15.95 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2892, allocations: 0 / 1.36 GB, free: 15.95 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.2892, allocations: 8 kB / 1.36 GB, free: 15.94 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2892, allocations: 3.984 kB / 1.36 GB, free: 15.93 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2892, allocations: 0 / 1.36 GB, free: 15.93 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.2894, allocations: 240.2 kB / 1.361 GB, free: 15.68 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.2895, allocations: 11.97 kB / 1.361 GB, free: 15.67 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2895, allocations: 8 kB / 1.361 GB, free: 15.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.2895, allocations: 4 kB / 1.361 GB, free: 15.66 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.2895, allocations: 7.984 kB / 1.361 GB, free: 15.65 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.2895, allocations: 4 kB / 1.361 GB, free: 15.64 MB / 1.057 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.2896, allocations: 95.27 kB / 1.361 GB, free: 15.55 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.2896, allocations: 0 / 1.361 GB, free: 15.55 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0001639/0.2897, allocations: 31.92 kB / 1.361 GB, free: 15.52 MB / 1.057 GB 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.0004721/0.2902, allocations: 0.7912 MB / 1.361 GB, free: 14.7 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.2904, allocations: 121.5 kB / 1.362 GB, free: 14.57 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.2904, allocations: 0 / 1.362 GB, free: 14.57 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 6.097e-05/0.2905, allocations: 35.97 kB / 1.362 GB, free: 14.54 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.2907, allocations: 4 kB / 1.362 GB, free: 14.54 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.2922, allocations: 1.631 MB / 1.363 GB, free: 12.82 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.2923, allocations: 75.19 kB / 1.363 GB, free: 12.73 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.2923, allocations: 8 kB / 1.363 GB, free: 12.72 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.2924, allocations: 23.42 kB / 1.363 GB, free: 12.7 MB / 1.057 GB Notification: Performance of SimCode: time 5.61e-07/0.2924, allocations: 0 / 1.363 GB, free: 12.7 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.3079, allocations: 3.426 MB / 1.367 GB, free: 9.453 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.125/6.433, allocations: 17.19 kB / 1.367 GB, free: 9.441 MB / 1.057 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_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_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.169254781678319] Failed to read output from testmodel.py, exit status != 0: 6.509537847712636 6.51990656 6.232793496 Calling exit ...