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.0009627/0.0009627, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008889/0.0008889, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8976/0.8976, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.719/1.719, allocations: 390.1 MB / 0.6341 GB, free: 11.6 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.713e-06/1.713e-06, allocations: 0 / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.979e-05, allocations: 5.516 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001686/0.001705, allocations: 1.36 MB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.002556, allocations: 0.8723 MB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.00259, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.002606, allocations: 3.938 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.00265, allocations: 11.92 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.003206, allocations: 222.8 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.00329, allocations: 43.8 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.003331, allocations: 11.98 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.003395, allocations: 23.97 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.21e-05/0.003447, allocations: 19.91 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.00346, allocations: 4 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.003868, allocations: 371.5 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.003891, allocations: 7.922 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.003918, allocations: 15.98 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.004248, allocations: 299.1 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.004252, allocations: 4 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.793e-06/0.004254, allocations: 0 / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5e-06/0.004259, allocations: 0 / 1.005 GB, free: 8.168 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003894/0.004648, allocations: 349.3 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.004688, allocations: 8.031 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.00472, allocations: 38.69 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.004888, allocations: 24.86 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.207e-05/0.00497, allocations: 117.7 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.004991, allocations: 384 / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.005008, allocations: 4.359 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.00513, allocations: 75.94 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.005135, allocations: 192 / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.005144, allocations: 384 / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005151, allocations: 12.12 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.005224, allocations: 27.91 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.005352, allocations: 144.8 kB / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.005554, allocations: 62.53 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.0056, allocations: 24.94 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.005611, allocations: 0 / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.005632, allocations: 30.56 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.005634, allocations: 4 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001094/0.006727, allocations: 408.8 kB / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.006755, allocations: 55.34 kB / 1.006 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.00683, allocations: 126.1 kB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.006844, allocations: 29.7 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.006872, allocations: 88.09 kB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.006894, allocations: 23.8 kB / 1.006 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.006933, allocations: 29.64 kB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.007005, allocations: 322.8 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.007086, allocations: 43.97 kB / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.007156, allocations: 43.97 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.007304, allocations: 100.8 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007305, allocations: 0 / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001964/0.007501, allocations: 148 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.007514, allocations: 8 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.007526, allocations: 0 / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.00754, allocations: 3.938 kB / 1.007 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.007611, allocations: 27.97 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.007615, allocations: 0 / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.918e-05/0.007654, allocations: 4 kB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.007663, allocations: 4 kB / 1.007 GB, free: 5.594 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 (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 5.816e-05/0.007721, allocations: 118.4 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.007732, allocations: 3.953 kB / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.007766, allocations: 12.44 kB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007769, allocations: 3.938 kB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.007773, allocations: 0 / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.007775, allocations: 336 / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.008185, allocations: 342.4 kB / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.008188, allocations: 7.969 kB / 1.007 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.008255, allocations: 19.98 kB / 1.007 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008257, allocations: 0 / 1.007 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.008266, allocations: 3.984 kB / 1.007 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008267, allocations: 0 / 1.007 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008268, allocations: 0 / 1.007 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.008538, allocations: 240.2 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.008564, allocations: 15.91 kB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.008578, allocations: 8.062 kB / 1.008 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.008638, allocations: 4 kB / 1.008 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.008654, allocations: 7.984 kB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.008661, allocations: 4 kB / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.0087, allocations: 94.39 kB / 1.008 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.0087, allocations: 0 / 1.008 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001732/0.008874, allocations: 24 kB / 1.008 GB, free: 4.629 MB / 0.9636 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.0004947/0.009368, allocations: 0.7912 MB / 1.009 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.009594, allocations: 121.6 kB / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009596, allocations: 0 / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.009656, allocations: 27.98 kB / 1.009 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.009919, allocations: 15.92 kB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.01124, allocations: 1.619 MB / 1.01 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.451e-05/0.01128, allocations: 75.34 kB / 1.01 GB, free: 1.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.01132, allocations: 11.98 kB / 1.01 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.01137, allocations: 12.5 kB / 1.01 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.01137, allocations: 4 kB / 1.01 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.03047, allocations: 3.546 MB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/6.517, allocations: 4.625 kB / 1.014 GB, free: 14.46 MB / 0.9792 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.479066046886146] Failed to read output from testmodel.py, exit status != 0: 6.59634318575263 6.605262016 6.599253861 Calling exit ...