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.0008193/0.0008193, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008787/0.0008787, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8867/0.8867, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.71/1.71, allocations: 390.1 MB / 0.6341 GB, free: 11.59 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.162e-06/1.162e-06, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/1.022e-05, allocations: 6.281 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001446/0.001456, allocations: 1.364 MB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.002269, allocations: 0.8645 MB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.002299, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.002315, allocations: 3.938 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.002356, allocations: 11.86 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.002801, allocations: 226.8 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.104e-05/0.002872, allocations: 51.77 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.002907, allocations: 7.984 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/0.002959, allocations: 19.98 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.003001, allocations: 15.92 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.003013, allocations: 8 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.003473, allocations: 383.4 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.003487, allocations: 4 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.00351, allocations: 19.92 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.00378, allocations: 291.2 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003782, allocations: 0 / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003782, allocations: 0 / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.003787, allocations: 3.984 kB / 1.005 GB, free: 8.152 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.0003175/0.004104, allocations: 345.3 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.004137, allocations: 8.031 kB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.004163, allocations: 42.69 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.004301, allocations: 24.86 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.004372, allocations: 113.7 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.004392, allocations: 8.359 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.004406, allocations: 4.375 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.004514, allocations: 71.94 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.004519, allocations: 4.172 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.004527, allocations: 384 / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.004532, allocations: 8.125 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.004598, allocations: 23.98 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.004716, allocations: 144.7 kB / 1.005 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.004898, allocations: 62.48 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.004941, allocations: 28.94 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.004951, allocations: 0 / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.004968, allocations: 34.55 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.004969, allocations: 0 / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001013/0.005982, allocations: 408.8 kB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.006004, allocations: 55.41 kB / 1.006 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.006069, allocations: 129.2 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.006082, allocations: 29.7 kB / 1.006 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.006107, allocations: 88.09 kB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.006127, allocations: 27.78 kB / 1.006 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.006164, allocations: 29.7 kB / 1.006 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.006226, allocations: 318.8 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.006316, allocations: 43.97 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.006384, allocations: 43.97 kB / 1.007 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.006525, allocations: 107.1 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.006526, allocations: 0 / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001805/0.006706, allocations: 141.6 kB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.006717, allocations: 10.34 kB / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.006726, allocations: 4.062 kB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006737, allocations: 3.938 kB / 1.007 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.006799, allocations: 19.98 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.006802, allocations: 0 / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.006841, allocations: 11.98 kB / 1.007 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.006848, allocations: 0 / 1.007 GB, free: 5.578 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.241e-05/0.0069, allocations: 118.3 kB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.00691, allocations: 11.95 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.006933, allocations: 4.438 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006935, allocations: 3.938 kB / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006939, allocations: 0 / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.006942, allocations: 3.984 kB / 1.007 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.007319, allocations: 342.4 kB / 1.007 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.007321, allocations: 3.938 kB / 1.007 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.007379, allocations: 19.98 kB / 1.007 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007382, allocations: 8.016 kB / 1.007 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.00739, allocations: 0 / 1.007 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.007391, allocations: 0 / 1.007 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007393, allocations: 4 kB / 1.007 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.007645, allocations: 236.6 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.007666, allocations: 11.88 kB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.007678, allocations: 4 kB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/0.007737, allocations: 7.984 kB / 1.008 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.007752, allocations: 12.03 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.007759, allocations: 11.94 kB / 1.008 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.837e-05/0.007787, allocations: 91.27 kB / 1.008 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007787, allocations: 0 / 1.008 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001662/0.007953, allocations: 24 kB / 1.008 GB, free: 4.602 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.0004543/0.008408, allocations: 0.7874 MB / 1.009 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.008601, allocations: 117.7 kB / 1.009 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.008602, allocations: 0 / 1.009 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.008663, allocations: 35.91 kB / 1.009 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.008845, allocations: 8 kB / 1.009 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.01005, allocations: 1.607 MB / 1.01 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.01009, allocations: 79.33 kB / 1.01 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.01013, allocations: 8 kB / 1.01 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.01018, allocations: 24.48 kB / 1.01 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.01018, allocations: 0 / 1.01 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.02409, allocations: 3.548 MB / 1.014 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.381/6.405, allocations: 1.438 kB / 1.014 GB, free: 14.45 MB / 0.9792 GB " [Timeout remaining time 294] (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.265225836075842] Failed to read output from testmodel.py, exit status != 0: 6.48602641467005 6.494455102 6.48900159 Calling exit ...