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.0007951/0.0007951, allocations: 80.25 kB / 19.27 MB, free: 0.5859 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.0007778/0.0007778, allocations: 170 kB / 22.58 MB, free: 1.922 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.8986/0.8986, allocations: 177.1 MB / 202.9 MB, free: 5.664 MB / 186.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.736/1.736, allocations: 390.1 MB / 0.6342 GB, free: 11.57 MB / 0.6042 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 1.493e-06/1.493e-06, allocations: 0 / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.886e-05, allocations: 2.312 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.001629/0.001648, allocations: 1.382 MB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008004/0.002448, allocations: 0.8646 MB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.002483, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.002498, allocations: 3.938 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.002541, allocations: 11.86 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.002987, allocations: 230.8 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.003054, allocations: 55.78 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.003091, allocations: 7.969 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.003131, allocations: 27.92 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.003179, allocations: 27.89 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.003191, allocations: 4 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.003531, allocations: 371.5 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.003548, allocations: 11.97 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.00357, allocations: 19.94 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.003845, allocations: 319 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003847, allocations: 0 / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003848, allocations: 0 / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.003851, allocations: 0 / 1.005 GB, free: 8.016 MB / 0.9636 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.0003251/0.004176, allocations: 357.2 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.004215, allocations: 8.031 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.004242, allocations: 34.75 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.004386, allocations: 24.86 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.004456, allocations: 109.8 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.004473, allocations: 4.375 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.004491, allocations: 4.375 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.004617, allocations: 121.5 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.004626, allocations: 192 / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.004634, allocations: 384 / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.00464, allocations: 8.125 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.004716, allocations: 31.97 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.00484, allocations: 152.6 kB / 1.006 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.004977, allocations: 74.59 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.005027, allocations: 36.84 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.00504, allocations: 4 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.005074, allocations: 42.48 kB / 1.006 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 6.41e-07/0.005075, allocations: 0 / 1.006 GB, free: 6.875 MB / 0.9636 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.002842/0.007917, allocations: 0.9706 MB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.007945, allocations: 59.41 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.008003, allocations: 117.8 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.008022, allocations: 33.7 kB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.008047, allocations: 84.56 kB / 1.007 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.00808, allocations: 43.64 kB / 1.007 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.008134, allocations: 41.69 kB / 1.007 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.008196, allocations: 318.8 kB / 1.008 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.00833, allocations: 87.95 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.008458, allocations: 91.94 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.008723, allocations: 198.4 kB / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.008723, allocations: 0 / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003236/0.009047, allocations: 252.1 kB / 1.008 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.009057, allocations: 4 kB / 1.008 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.009069, allocations: 3.938 kB / 1.008 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.00908, allocations: 4 kB / 1.008 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.009221, allocations: 39.97 kB / 1.008 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.009226, allocations: 4 kB / 1.008 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.009299, allocations: 7.984 kB / 1.008 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.009314, allocations: 11.98 kB / 1.008 GB, free: 4.418 MB / 0.9636 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 6.246e-05/0.009376, allocations: 117.8 kB / 1.008 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.009393, allocations: 3.953 kB / 1.008 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.00942, allocations: 20.31 kB / 1.008 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.009421, allocations: 0 / 1.008 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.009425, allocations: 0 / 1.008 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.009428, allocations: 7.984 kB / 1.008 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.009914, allocations: 417.5 kB / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009915, allocations: 0 / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.01005, allocations: 43.89 kB / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01005, allocations: 0 / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01006, allocations: 0 / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01006, allocations: 0 / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.01006, allocations: 3.984 kB / 1.009 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.01052, allocations: 375.2 kB / 1.009 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.01053, allocations: 7.984 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.01055, allocations: 0 / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.01065, allocations: 7.984 kB / 1.009 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.01067, allocations: 11.98 kB / 1.009 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.01068, allocations: 7.984 kB / 1.009 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.885e-05/0.01071, allocations: 92.03 kB / 1.009 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01071, allocations: 0 / 1.009 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001858/0.0109, allocations: 44.06 kB / 1.009 GB, free: 3.211 MB / 0.9636 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.000648/0.01155, allocations: 0.9194 MB / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.01186, allocations: 208.7 kB / 1.01 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01186, allocations: 0 / 1.01 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.012, allocations: 79.94 kB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.01222, allocations: 12 kB / 1.011 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.01432, allocations: 2.024 MB / 1.013 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.01436, allocations: 75.33 kB / 1.013 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.688e-05/0.01444, allocations: 20.73 kB / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.01452, allocations: 36.47 kB / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of SimCode: time 4.61e-07/0.01452, allocations: 0 / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.02972, allocations: 4.315 MB / 1.017 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.542/6.572, allocations: 8.047 kB / 1.017 GB, free: 11.58 MB / 0.9792 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: 10.575939037837088] Failed to read output from testmodel.py, exit status != 0: 6.654123288579285 6.6677627059999995 6.662234823 Calling exit ...