Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.0007817/0.0007817, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.000879/0.000879, allocations: 217.2 kB / 22.25 MB, free: 3.707 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.9351/0.9351, allocations: 230.6 MB / 256 MB, free: 9.59 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.878/1.878, allocations: 0.5056 GB / 0.8107 GB, free: 1.32 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_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.000937/0.000937, allocations: 67.89 kB / 1.178 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.7416, allocations: 180.5 MB / 1.354 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002037/0.7436, allocations: 1.37 MB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.7446, allocations: 0.8596 MB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.7447, allocations: 4 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.7447, allocations: 7.922 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.124e-05/0.7447, allocations: 7.922 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.7453, allocations: 219 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.7453, allocations: 43.8 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.7454, allocations: 3.984 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.7454, allocations: 23.92 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.7455, allocations: 15.92 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.7455, allocations: 3.938 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.7459, allocations: 375.5 kB / 1.357 GB, free: 12.05 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.7459, allocations: 15.92 kB / 1.357 GB, free: 12.04 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.7459, allocations: 7.938 kB / 1.357 GB, free: 12.03 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.7462, allocations: 269.5 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7462, allocations: 0 / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7462, allocations: 8 kB / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7462, allocations: 0 / 1.358 GB, free: 11.76 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.0004065/0.7466, allocations: 345.3 kB / 1.358 GB, free: 11.39 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.7467, allocations: 8.031 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.7467, allocations: 38.75 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.7469, allocations: 16.91 kB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.364e-05/0.7469, allocations: 118.4 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.747, allocations: 4.312 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.747, allocations: 384 / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.7471, allocations: 79.94 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.7471, allocations: 7.938 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.7471, allocations: 0 / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.7471, allocations: 3.938 kB / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.7472, allocations: 27.97 kB / 1.358 GB, free: 11.05 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.7473, allocations: 136.8 kB / 1.358 GB, free: 10.87 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.7476, allocations: 66.47 kB / 1.358 GB, free: 10.8 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.7476, allocations: 20.94 kB / 1.358 GB, free: 10.77 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.7476, allocations: 8 kB / 1.358 GB, free: 10.77 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.7476, allocations: 34.56 kB / 1.358 GB, free: 10.72 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.7476, allocations: 0 / 1.358 GB, free: 10.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.001127/0.7488, allocations: 408.8 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.7488, allocations: 55.39 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.7489, allocations: 125 kB / 1.359 GB, free: 10.09 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.7489, allocations: 25.7 kB / 1.359 GB, free: 10.06 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.7489, allocations: 92.11 kB / 1.359 GB, free: 9.965 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.7489, allocations: 27.75 kB / 1.359 GB, free: 9.938 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.749, allocations: 29.7 kB / 1.359 GB, free: 9.902 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.7491, allocations: 322.8 kB / 1.359 GB, free: 9.578 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.7492, allocations: 39.97 kB / 1.359 GB, free: 9.539 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.7492, allocations: 47.97 kB / 1.36 GB, free: 9.492 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.7494, allocations: 111 kB / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7494, allocations: 0 / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001979/0.7496, allocations: 145.8 kB / 1.36 GB, free: 9.234 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.7496, allocations: 4 kB / 1.36 GB, free: 9.23 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.7496, allocations: 7.938 kB / 1.36 GB, free: 9.223 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.7496, allocations: 0 / 1.36 GB, free: 9.223 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.7497, allocations: 19.97 kB / 1.36 GB, free: 9.203 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7497, allocations: 8 kB / 1.36 GB, free: 9.195 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.7497, allocations: 0 / 1.36 GB, free: 9.195 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.7497, allocations: 11.97 kB / 1.36 GB, free: 9.184 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 6.378e-05/0.7498, allocations: 117.8 kB / 1.36 GB, free: 9.059 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.7498, allocations: 7.891 kB / 1.36 GB, free: 9.051 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.7499, allocations: 12.38 kB / 1.36 GB, free: 9.035 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7499, allocations: 0 / 1.36 GB, free: 9.035 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7499, allocations: 0 / 1.36 GB, free: 9.035 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7499, allocations: 0 / 1.36 GB, free: 9.035 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.7503, allocations: 346.4 kB / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7503, allocations: 0 / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.7504, allocations: 15.98 kB / 1.36 GB, free: 8.629 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7504, allocations: 0 / 1.36 GB, free: 8.629 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.7504, allocations: 8 kB / 1.36 GB, free: 8.621 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7504, allocations: 3.984 kB / 1.36 GB, free: 8.617 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7504, allocations: 0 / 1.36 GB, free: 8.617 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.7507, allocations: 244.2 kB / 1.361 GB, free: 8.359 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.7507, allocations: 15.91 kB / 1.361 GB, free: 8.344 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.7507, allocations: 4 kB / 1.361 GB, free: 8.34 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.7508, allocations: 7.984 kB / 1.361 GB, free: 8.332 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.7508, allocations: 0 / 1.361 GB, free: 8.332 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.7508, allocations: 8 kB / 1.361 GB, free: 8.324 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.7508, allocations: 95.27 kB / 1.361 GB, free: 8.23 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7508, allocations: 0 / 1.361 GB, free: 8.23 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001737/0.751, allocations: 27.98 kB / 1.361 GB, free: 8.203 MB / 1.042 GB 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.0004966/0.7515, allocations: 0.7913 MB / 1.361 GB, free: 7.383 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.7517, allocations: 117.6 kB / 1.362 GB, free: 7.262 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7517, allocations: 0 / 1.362 GB, free: 7.262 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.7518, allocations: 35.91 kB / 1.362 GB, free: 7.227 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.752, allocations: 10.34 kB / 1.362 GB, free: 7.219 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.7535, allocations: 1.632 MB / 1.363 GB, free: 5.508 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.7536, allocations: 75.2 kB / 1.363 GB, free: 5.414 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.7536, allocations: 11.98 kB / 1.363 GB, free: 5.402 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.7537, allocations: 23.42 kB / 1.363 GB, free: 5.379 MB / 1.042 GB Notification: Performance of SimCode: time 5.81e-07/0.7537, allocations: 0 / 1.363 GB, free: 5.379 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.7716, allocations: 3.418 MB / 1.367 GB, free: 2.109 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.167/6.939, allocations: 5.875 kB / 1.367 GB, free: 2.105 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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_dp_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.366479836404324] Failed to read output from testmodel.py, exit status != 0: 7.0143742971122265 7.022942063 6.2749687739999995 Calling exit ...