Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.001413/0.001413, allocations: 80.69 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001553/0.001553, allocations: 169.1 kB / 22.46 MB, free: 5.371 MB / 14.72 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 1.524/1.524, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.03/3.03, allocations: 390.1 MB / 0.6341 GB, free: 15.94 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.534e-05, allocations: 6.219 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.003059/0.003094, allocations: 1.372 MB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.004696, allocations: 0.8326 MB / 1.004 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.004765, allocations: 0 / 1.004 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.004789, allocations: 3.938 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.004897, allocations: 15.84 kB / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009081/0.005805, allocations: 210.9 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.00592, allocations: 39.8 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.005972, allocations: 8 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.006043, allocations: 23.91 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.006101, allocations: 11.98 kB / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.006117, allocations: 0 / 1.004 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007826/0.006899, allocations: 383.4 kB / 1.005 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.006922, allocations: 4 kB / 1.005 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.006956, allocations: 11.94 kB / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.007557, allocations: 295.2 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.007565, allocations: 4 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.493e-06/0.007566, allocations: 0 / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.007572, allocations: 0 / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005911/0.008163, allocations: 337.4 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.008216, allocations: 11.98 kB / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.008492, allocations: 20.91 kB / 1.005 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.00866, allocations: 121.7 kB / 1.006 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.00868, allocations: 384 / 1.006 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.008702, allocations: 4.375 kB / 1.006 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.008872, allocations: 42.25 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.008882, allocations: 4.125 kB / 1.006 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.008893, allocations: 384 / 1.006 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.008902, allocations: 384 / 1.006 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.009028, allocations: 27.91 kB / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.009211, allocations: 109.3 kB / 1.006 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.009392, allocations: 38.56 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.009466, allocations: 20.91 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.009485, allocations: 3.938 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.009521, allocations: 34.56 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.009522, allocations: 3.938 kB / 1.006 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003318/0.009854, allocations: 69.56 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.009917, allocations: 55.41 kB / 1.006 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.01007, allocations: 126 kB / 1.006 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.01009, allocations: 29.83 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01022, allocations: 92.09 kB / 1.006 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.01024, allocations: 11.88 kB / 1.006 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.0103, allocations: 25.7 kB / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.01052, allocations: 314.8 kB / 1.007 GB, free: 444 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.504e-05/0.01062, allocations: 23.98 kB / 1.007 GB, free: 420 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.01069, allocations: 20 kB / 1.007 GB, free: 400 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.01086, allocations: 52.7 kB / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01087, allocations: 0 / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002387/0.0111, allocations: 85.67 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01112, allocations: 4 kB / 1.007 GB, free: 248 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.01114, allocations: 4 kB / 1.007 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.01116, allocations: 3.938 kB / 1.007 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/0.01214, allocations: 79.88 kB / 1.007 GB, free: 160 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.01458, allocations: 1.38 MB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.01465, allocations: 12.05 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01466, allocations: 8.031 kB / 1.008 GB, free: 14.66 MB / 0.9669 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.01479, allocations: 105.8 kB / 1.008 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.01482, allocations: 11.89 kB / 1.008 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.01484, allocations: 3.625 kB / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.01484, allocations: 0 / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01485, allocations: 3.984 kB / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01485, allocations: 0 / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.01498, allocations: 105.3 kB / 1.008 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.01499, allocations: 3.984 kB / 1.008 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.01604, allocations: 103.9 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.01605, allocations: 4 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01607, allocations: 3.938 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.01839, allocations: 1.376 MB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01839, allocations: 4.062 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.01859, allocations: 84.98 kB / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.0186, allocations: 3.984 kB / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.01861, allocations: 0 / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.01866, allocations: 4 kB / 1.01 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.01869, allocations: 0 / 1.01 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.0187, allocations: 11.98 kB / 1.01 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.01877, allocations: 92.84 kB / 1.01 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01877, allocations: 0 / 1.01 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002861/0.01906, allocations: 28.02 kB / 1.01 GB, free: 12.56 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002665/0.01932, allocations: 111.2 kB / 1.01 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.02052, allocations: 145.5 kB / 1.01 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.02052, allocations: 7.938 kB / 1.01 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.02164, allocations: 115.8 kB / 1.01 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.0219, allocations: 18.17 kB / 1.01 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.02238, allocations: 140.7 kB / 1.011 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.795e-05/0.02245, allocations: 67.28 kB / 1.011 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.02247, allocations: 0 / 1.011 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.0225, allocations: 8.5 kB / 1.011 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of SimCode: time 8.52e-07/0.0225, allocations: 4 kB / 1.011 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of Templates: time 0.005268/0.02777, allocations: 1.415 MB / 1.012 GB, free: 10.51 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 8.310774829238653] Failed to read output from testmodel.py, exit status != 0: 0.03800094872713089 0.055631094000000006 0.044382155 Calling exit ...