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.0008731/0.0008731, allocations: 81.69 kB / 19.27 MB, free: 0.5898 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.0008413/0.0008413, 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.8565/0.8565, 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.712/1.712, allocations: 390.1 MB / 0.6342 GB, free: 11.56 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.523e-06/1.523e-06, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.065e-05, allocations: 2.312 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001667/0.001688, allocations: 1.371 MB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.002568, allocations: 0.8684 MB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.002609, allocations: 0 / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.002626, allocations: 0 / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.002672, allocations: 11.86 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.003207, allocations: 222.8 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.003279, allocations: 51.77 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.003319, allocations: 7.984 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.00337, allocations: 23.92 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.003417, allocations: 19.92 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.00343, allocations: 4 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004162/0.003846, allocations: 367.5 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.003867, allocations: 15.92 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.003894, allocations: 12 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004246/0.004318, allocations: 303.1 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.004322, allocations: 4 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004323, allocations: 0 / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.004327, allocations: 0 / 1.005 GB, free: 8.039 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.0003571/0.004684, allocations: 345.3 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.004723, allocations: 8.031 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.004751, allocations: 38.75 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.004902, allocations: 20.86 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.098e-05/0.004973, allocations: 109.7 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.004991, allocations: 8.375 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.005007, allocations: 384 / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.005122, allocations: 79.94 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.005129, allocations: 4.125 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.005139, allocations: 4.359 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.005144, allocations: 4.125 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.005215, allocations: 23.98 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.005337, allocations: 144.7 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.005528, allocations: 62.55 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.005572, allocations: 24.92 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.005587, allocations: 4 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.005609, allocations: 38.5 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.00561, allocations: 0 / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001065/0.006675, allocations: 408.8 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.006702, allocations: 51.41 kB / 1.006 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.006768, allocations: 125.7 kB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.006782, allocations: 29.7 kB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.006808, allocations: 88.09 kB / 1.006 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.006831, allocations: 27.78 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.006869, allocations: 33.64 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.006935, allocations: 314.8 kB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.007013, allocations: 47.97 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.007084, allocations: 47.97 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.007233, allocations: 100.7 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007235, allocations: 4.062 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001912/0.007426, allocations: 141.6 kB / 1.007 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007438, allocations: 8 kB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.007449, allocations: 3.984 kB / 1.007 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.007461, allocations: 7.938 kB / 1.007 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.007529, allocations: 19.98 kB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.007534, allocations: 4.141 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.00758, allocations: 4 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.007592, allocations: 3.984 kB / 1.007 GB, free: 5.465 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.341e-05/0.007645, allocations: 117.8 kB / 1.007 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.007656, allocations: 3.953 kB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.007682, allocations: 12.44 kB / 1.007 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007685, allocations: 3.938 kB / 1.007 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.007689, allocations: 4 kB / 1.007 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007691, allocations: 0 / 1.007 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.008109, allocations: 334.4 kB / 1.008 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.008112, allocations: 3.938 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.008179, allocations: 15.98 kB / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008181, allocations: 4 kB / 1.008 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.008191, allocations: 7.984 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.008192, allocations: 0 / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008193, allocations: 4.031 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.008469, allocations: 232.2 kB / 1.008 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.008497, allocations: 15.91 kB / 1.008 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.008513, allocations: 8 kB / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.008574, allocations: 7.984 kB / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.008588, allocations: 0 / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.008596, allocations: 8.109 kB / 1.008 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.008628, allocations: 91.27 kB / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008628, allocations: 4.062 kB / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00018/0.008808, allocations: 28 kB / 1.008 GB, free: 4.5 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.0004668/0.009275, allocations: 0.7912 MB / 1.009 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.009479, allocations: 113.6 kB / 1.009 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009481, allocations: 0 / 1.009 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.009544, allocations: 43.97 kB / 1.009 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.00976, allocations: 8 kB / 1.009 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.01107, allocations: 1.609 MB / 1.011 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.01111, allocations: 71.34 kB / 1.011 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.882e-05/0.01114, allocations: 11.98 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.01119, allocations: 20.48 kB / 1.011 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01119, allocations: 4 kB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.02613, allocations: 3.59 MB / 1.014 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.435/6.461, allocations: 4.484 kB / 1.014 GB, free: 14.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 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.316316328011453] Failed to read output from testmodel.py, exit status != 0: 6.541596654802561 6.549481039 6.5436220050000005 Calling exit ...