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.000774/0.000774, allocations: 77.69 kB / 19.27 MB, free: 0.582 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.0008501/0.0008501, allocations: 166 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.8432/0.8432, allocations: 177.1 MB / 202.9 MB, free: 5.691 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.689/1.689, 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_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 1.783e-06/1.783e-06, allocations: 0 / 1.002 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.29e-05, allocations: 5.266 kB / 1.002 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.00176/0.001783, allocations: 1.383 MB / 1.003 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.002671, allocations: 0.8607 MB / 1.004 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.002706, allocations: 3.938 kB / 1.004 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.002723, allocations: 0 / 1.004 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.002894, allocations: 7.875 kB / 1.004 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.003367, allocations: 222.8 kB / 1.004 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.362e-05/0.003441, allocations: 47.78 kB / 1.004 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.003485, allocations: 8 kB / 1.004 GB, free: 7.664 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.00354, allocations: 23.97 kB / 1.004 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.00359, allocations: 15.92 kB / 1.004 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.003603, allocations: 4 kB / 1.004 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.003959, allocations: 375.4 kB / 1.005 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.003975, allocations: 11.94 kB / 1.005 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.003999, allocations: 15.98 kB / 1.005 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.0043, allocations: 295.1 kB / 1.005 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004303, allocations: 0 / 1.005 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004304, allocations: 0 / 1.005 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.00431, allocations: 7.984 kB / 1.005 GB, free: 6.93 MB / 0.9167 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.0003711/0.004681, allocations: 345.3 kB / 1.005 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.004723, allocations: 8.031 kB / 1.005 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.004754, allocations: 30.75 kB / 1.005 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.004924, allocations: 20.91 kB / 1.005 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.667e-05/0.005011, allocations: 117.7 kB / 1.005 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.005036, allocations: 12.36 kB / 1.005 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005054, allocations: 4.375 kB / 1.005 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.005198, allocations: 79.92 kB / 1.006 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.005204, allocations: 192 / 1.006 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.005213, allocations: 384 / 1.006 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.005219, allocations: 4.125 kB / 1.006 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.606e-05/0.005295, allocations: 27.92 kB / 1.006 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.005435, allocations: 140.8 kB / 1.006 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.00565, allocations: 58.55 kB / 1.006 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.005696, allocations: 28.94 kB / 1.006 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.005712, allocations: 4 kB / 1.006 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.005733, allocations: 34.55 kB / 1.006 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.005734, allocations: 0 / 1.006 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.001126/0.00686, allocations: 416.7 kB / 1.006 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.006888, allocations: 55.41 kB / 1.006 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.006957, allocations: 122.1 kB / 1.006 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.006969, allocations: 25.7 kB / 1.006 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.006999, allocations: 92.08 kB / 1.006 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.007021, allocations: 19.78 kB / 1.007 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.007064, allocations: 37.66 kB / 1.007 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.007139, allocations: 318.8 kB / 1.007 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.007228, allocations: 43.97 kB / 1.007 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.007302, allocations: 47.97 kB / 1.007 GB, free: 4.652 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.007457, allocations: 107.4 kB / 1.007 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007458, allocations: 0 / 1.007 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002031/0.007661, allocations: 137.6 kB / 1.007 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.007677, allocations: 9.562 kB / 1.007 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.00769, allocations: 4 kB / 1.007 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.007703, allocations: 7.938 kB / 1.007 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.007776, allocations: 15.98 kB / 1.007 GB, free: 4.371 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.007782, allocations: 4 kB / 1.007 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.007824, allocations: 7.984 kB / 1.007 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.007832, allocations: 4 kB / 1.007 GB, free: 4.355 MB / 0.9167 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.275e-05/0.007894, allocations: 117.8 kB / 1.007 GB, free: 4.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.007906, allocations: 3.953 kB / 1.007 GB, free: 4.227 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.008208, allocations: 8.438 kB / 1.007 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.008211, allocations: 3.938 kB / 1.007 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.008216, allocations: 0 / 1.007 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.00822, allocations: 7.984 kB / 1.007 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.008641, allocations: 334.5 kB / 1.008 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.008644, allocations: 7.875 kB / 1.008 GB, free: 3.816 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.008712, allocations: 16.31 kB / 1.008 GB, free: 3.801 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.008718, allocations: 7.984 kB / 1.008 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.008726, allocations: 0 / 1.008 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.008728, allocations: 0 / 1.008 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.00873, allocations: 32 / 1.008 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.009002, allocations: 240.3 kB / 1.008 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.009033, allocations: 15.91 kB / 1.008 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.009049, allocations: 4 kB / 1.008 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.009111, allocations: 7.984 kB / 1.008 GB, free: 3.512 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.009128, allocations: 7.922 kB / 1.008 GB, free: 3.504 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.009135, allocations: 8 kB / 1.008 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.009168, allocations: 91.27 kB / 1.008 GB, free: 3.406 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009168, allocations: 3.938 kB / 1.008 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001743/0.009342, allocations: 28.06 kB / 1.008 GB, free: 3.375 MB / 0.9167 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.0004955/0.009837, allocations: 0.7836 MB / 1.009 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.01005, allocations: 117.6 kB / 1.009 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01005, allocations: 0 / 1.009 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.01012, allocations: 40.03 kB / 1.009 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.01036, allocations: 8 kB / 1.009 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.0117, allocations: 1.608 MB / 1.011 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.488e-05/0.01174, allocations: 75.44 kB / 1.011 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.01178, allocations: 8 kB / 1.011 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.01184, allocations: 24.48 kB / 1.011 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of SimCode: time 4.61e-07/0.01184, allocations: 0 / 1.011 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.03221, allocations: 3.592 MB / 1.014 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.582/6.614, allocations: 0 / 1.014 GB, free: 13.21 MB / 0.9323 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: 10.935485186055303] Failed to read output from testmodel.py, exit status != 0: 6.693042241036892 7.112721276 6.697289756 Calling exit ...