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.0008189/0.0008189, allocations: 81.69 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.0008809/0.0008809, allocations: 166 kB / 22.58 MB, free: 1.926 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.8496/0.8496, allocations: 177.1 MB / 202.9 MB, free: 5.688 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.707/1.707, allocations: 390.1 MB / 0.6342 GB, free: 11.55 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_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 1.653e-06/1.653e-06, allocations: 0 / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.613e-05, allocations: 6.25 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001835/0.001862, allocations: 1.383 MB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009159/0.002777, allocations: 0.8607 MB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.002817, allocations: 4 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.002836, allocations: 3.938 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.002883, allocations: 11.86 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.003415, allocations: 234.8 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.003488, allocations: 51.78 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.003529, allocations: 7.984 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.003573, allocations: 31.89 kB / 1.004 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.003624, allocations: 15.98 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.003636, allocations: 4 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.00401, allocations: 383.4 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.00403, allocations: 11.94 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.004052, allocations: 11.98 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.004352, allocations: 307.1 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004354, allocations: 0 / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.41e-07/0.004355, allocations: 7.938 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004359, allocations: 4 kB / 1.005 GB, free: 7.977 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.0003588/0.004718, allocations: 361.3 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.004755, allocations: 8.031 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.004782, allocations: 30.75 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.004928, allocations: 28.86 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.384e-05/0.005002, allocations: 105.8 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.005022, allocations: 4.375 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.00504, allocations: 4.375 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.005174, allocations: 121.6 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.005184, allocations: 192 / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.005193, allocations: 384 / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.005198, allocations: 4.125 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.005283, allocations: 39.95 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.005419, allocations: 144.6 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.005564, allocations: 82.52 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.005616, allocations: 36.84 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.005629, allocations: 8 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.00565, allocations: 34.5 kB / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.005651, allocations: 0 / 1.006 GB, free: 6.836 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: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002703/0.008354, allocations: 0.9787 MB / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.008384, allocations: 51.41 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.00846, allocations: 129.8 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.008479, allocations: 29.7 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.008515, allocations: 88.42 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.008552, allocations: 39.64 kB / 1.007 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.008609, allocations: 41.69 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.008692, allocations: 318.8 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.008832, allocations: 83.94 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.008962, allocations: 83.95 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.009238, allocations: 191.1 kB / 1.008 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.009239, allocations: 0 / 1.008 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00035/0.009589, allocations: 243.9 kB / 1.008 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.009601, allocations: 7.938 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.009618, allocations: 7.938 kB / 1.008 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.009631, allocations: 0 / 1.008 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.009778, allocations: 31.95 kB / 1.008 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.009783, allocations: 4 kB / 1.008 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.009857, allocations: 8 kB / 1.008 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.009878, allocations: 11.98 kB / 1.008 GB, free: 4.402 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 7.045e-05/0.009948, allocations: 113.8 kB / 1.008 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.009965, allocations: 7.953 kB / 1.008 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.009997, allocations: 16.31 kB / 1.008 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009999, allocations: 3.984 kB / 1.008 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01, allocations: 0 / 1.008 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01001, allocations: 0 / 1.008 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.01054, allocations: 425.5 kB / 1.009 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01054, allocations: 4 kB / 1.009 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.01068, allocations: 39.83 kB / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01068, allocations: 0 / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.01069, allocations: 7.984 kB / 1.009 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.0107, allocations: 0 / 1.009 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.0107, allocations: 0 / 1.009 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.01119, allocations: 370.5 kB / 1.009 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.0112, allocations: 11.97 kB / 1.009 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.01122, allocations: 0 / 1.009 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.01132, allocations: 8 kB / 1.009 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.01135, allocations: 15.97 kB / 1.009 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.01136, allocations: 4 kB / 1.009 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.0114, allocations: 99.2 kB / 1.009 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0114, allocations: 0 / 1.009 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001943/0.0116, allocations: 40 kB / 1.009 GB, free: 3.191 MB / 0.9636 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.0007187/0.01231, allocations: 0.9124 MB / 1.01 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.01266, allocations: 201.5 kB / 1.01 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01266, allocations: 0 / 1.01 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.01279, allocations: 75.94 kB / 1.01 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.01302, allocations: 12.06 kB / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.01514, allocations: 2.023 MB / 1.012 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.147e-05/0.0152, allocations: 79.33 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.645e-05/0.01529, allocations: 16.73 kB / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.01538, allocations: 32.47 kB / 1.013 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of SimCode: time 6.21e-07/0.01538, allocations: 4 kB / 1.013 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.03323, allocations: 4.334 MB / 1.017 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.502/6.535, allocations: 3.984 kB / 1.017 GB, free: 11.6 MB / 0.9792 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: 10.52841523103416] Failed to read output from testmodel.py, exit status != 0: 6.615795494988561 6.626911797 6.620942846 Calling exit ...