Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0007749/0.0007749, allocations: 101.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.000919/0.000919, allocations: 216 kB / 22.25 MB, free: 3.574 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.8986/0.8986, allocations: 230.6 MB / 256 MB, free: 9.57 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.853/1.853, allocations: 0.5056 GB / 0.8107 GB, free: 1.359 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_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009106/0.0009106, allocations: 63.89 kB / 1.178 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.702/0.7029, 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_DerivativeCheck2): time 0.001908/0.7048, allocations: 1.365 MB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.7057, allocations: 0.8714 MB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.7058, allocations: 0 / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.7058, allocations: 7.938 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.7058, allocations: 3.938 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.7064, allocations: 223 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.768e-05/0.7064, allocations: 55.78 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.7065, allocations: 3.984 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.967e-05/0.7065, allocations: 23.92 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.7066, allocations: 31.84 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.7066, allocations: 0 / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.707, allocations: 375.5 kB / 1.357 GB, free: 12.03 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.707, allocations: 8 kB / 1.357 GB, free: 12.02 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.707, allocations: 23.86 kB / 1.357 GB, free: 12 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.7073, allocations: 277.4 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7073, allocations: 0 / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7073, allocations: 0 / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.7073, allocations: 4 kB / 1.358 GB, free: 11.72 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.0003588/0.7076, allocations: 353.3 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7077, allocations: 8.031 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/0.7077, allocations: 46.73 kB / 1.358 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.7079, allocations: 20.88 kB / 1.358 GB, free: 11.26 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.708, allocations: 114.5 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.708, allocations: 384 / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.708, allocations: 8.375 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.7081, allocations: 113.6 kB / 1.358 GB, free: 10.99 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7082, allocations: 3.938 kB / 1.358 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.7082, allocations: 4 kB / 1.358 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.7082, allocations: 4 kB / 1.358 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.7082, allocations: 27.97 kB / 1.358 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.7084, allocations: 160.6 kB / 1.358 GB, free: 10.75 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.7085, allocations: 78.47 kB / 1.358 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.7086, allocations: 40.78 kB / 1.358 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.7086, allocations: 0 / 1.358 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.7086, allocations: 30.56 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.7086, allocations: 4 kB / 1.359 GB, free: 10.58 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: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002748/0.7114, allocations: 0.9717 MB / 1.359 GB, free: 9.551 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.7114, allocations: 51.41 kB / 1.36 GB, free: 9.488 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.7114, allocations: 125.8 kB / 1.36 GB, free: 9.355 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.7115, allocations: 29.7 kB / 1.36 GB, free: 9.32 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.7115, allocations: 84.42 kB / 1.36 GB, free: 9.23 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.7115, allocations: 47.62 kB / 1.36 GB, free: 9.184 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.7116, allocations: 45.69 kB / 1.36 GB, free: 9.133 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.7117, allocations: 322.8 kB / 1.36 GB, free: 8.809 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.7118, allocations: 87.95 kB / 1.36 GB, free: 8.723 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.712, allocations: 92.03 kB / 1.36 GB, free: 8.633 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.7122, allocations: 199.2 kB / 1.361 GB, free: 8.438 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7122, allocations: 0 / 1.361 GB, free: 8.438 MB / 1.042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003445/0.7126, allocations: 259.4 kB / 1.361 GB, free: 8.18 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7126, allocations: 9.547 kB / 1.361 GB, free: 8.172 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.7126, allocations: 0 / 1.361 GB, free: 8.172 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7126, allocations: 4 kB / 1.361 GB, free: 8.168 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.7128, allocations: 27.97 kB / 1.361 GB, free: 8.141 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7128, allocations: 4 kB / 1.361 GB, free: 8.137 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.7128, allocations: 11.98 kB / 1.361 GB, free: 8.125 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.7129, allocations: 15.92 kB / 1.361 GB, free: 8.109 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.064e-05/0.7129, allocations: 115.4 kB / 1.361 GB, free: 7.988 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.7129, allocations: 7.891 kB / 1.361 GB, free: 7.98 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.713, allocations: 16.38 kB / 1.361 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.713, allocations: 0 / 1.361 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.713, allocations: 0 / 1.361 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.713, allocations: 0 / 1.361 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.7137, allocations: 425.4 kB / 1.361 GB, free: 7.496 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7137, allocations: 4 kB / 1.361 GB, free: 7.492 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.7138, allocations: 35.97 kB / 1.361 GB, free: 7.457 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.7138, allocations: 3.984 kB / 1.361 GB, free: 7.453 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7138, allocations: 4 kB / 1.361 GB, free: 7.449 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.7138, allocations: 0 / 1.361 GB, free: 7.449 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7138, allocations: 4.312 kB / 1.361 GB, free: 7.445 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.7143, allocations: 363.2 kB / 1.362 GB, free: 7.074 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-06/0.7143, allocations: 16.03 kB / 1.362 GB, free: 7.059 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.7143, allocations: 7.938 kB / 1.362 GB, free: 7.051 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.7144, allocations: 7.984 kB / 1.362 GB, free: 7.043 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.7145, allocations: 7.984 kB / 1.362 GB, free: 7.035 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.7145, allocations: 11.98 kB / 1.362 GB, free: 7.023 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.7145, allocations: 92.03 kB / 1.362 GB, free: 6.934 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7145, allocations: 0 / 1.362 GB, free: 6.934 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001971/0.7147, allocations: 36 kB / 1.362 GB, free: 6.898 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0006917/0.7154, allocations: 0.9195 MB / 1.363 GB, free: 5.953 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.7157, allocations: 212.1 kB / 1.363 GB, free: 5.742 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7157, allocations: 4 kB / 1.363 GB, free: 5.738 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.7159, allocations: 75.88 kB / 1.363 GB, free: 5.664 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.7161, allocations: 8 kB / 1.363 GB, free: 5.656 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.7182, allocations: 2.065 MB / 1.365 GB, free: 3.508 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.76e-05/0.7182, allocations: 83.02 kB / 1.365 GB, free: 3.406 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.598e-05/0.7183, allocations: 24.66 kB / 1.365 GB, free: 3.383 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.7184, allocations: 27.42 kB / 1.365 GB, free: 3.355 MB / 1.042 GB Notification: Performance of SimCode: time 6.81e-07/0.7184, allocations: 0 / 1.365 GB, free: 3.355 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.7356, allocations: 4.162 MB / 1.369 GB, free: 15.35 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.198/6.934, allocations: 6.875 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_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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_dp_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.309608168900013] Failed to read output from testmodel.py, exit status != 0: 7.013350977562368 7.022480324 6.313561388 Calling exit ...