Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.001522/0.001522, allocations: 85.14 kB / 19.94 MB, free: 1.777 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.001643/0.001643, allocations: 162.1 kB / 23.21 MB, free: 4.902 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.401/1.401, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.926/0.926, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5546 GB, free: 2.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.921e-05, allocations: 13.03 kB / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01732/0.01735, allocations: 13.96 MB / 0.5683 GB, free: 4.633 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00577/0.02312, allocations: 3.619 MB / 0.5718 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.0236, allocations: 31.75 kB / 0.5719 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.02423, allocations: 182.6 kB / 0.572 GB, free: 0.793 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.02602, allocations: 0.7226 MB / 0.5727 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.02737, allocations: 0.5185 MB / 0.5732 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.02906, allocations: 1.09 MB / 0.5743 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.02954, allocations: 225.6 kB / 0.5745 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.0309, allocations: 0.6776 MB / 0.5752 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.03125, allocations: 199.3 kB / 0.5754 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.0313, allocations: 19.94 kB / 0.5754 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009446/0.03225, allocations: 431 kB / 0.5758 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.03236, allocations: 67.64 kB / 0.5759 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.03253, allocations: 119.6 kB / 0.576 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008883/0.03342, allocations: 0.5685 MB / 0.5765 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.03343, allocations: 4 kB / 0.5765 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.03343, allocations: 0 / 0.5765 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.03344, allocations: 4 kB / 0.5765 GB, free: 12.16 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001035/0.03448, allocations: 0.6402 MB / 0.5772 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.03452, allocations: 12.62 kB / 0.5772 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.03462, allocations: 48.59 kB / 0.5772 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.0354, allocations: 390.5 kB / 0.5776 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.03542, allocations: 12.33 kB / 0.5776 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.03546, allocations: 20 kB / 0.5776 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.03589, allocations: 208.8 kB / 0.5778 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.03591, allocations: 3.938 kB / 0.5778 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.03593, allocations: 4 kB / 0.5778 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.03594, allocations: 4 kB / 0.5778 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.03629, allocations: 131.9 kB / 0.578 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.03731, allocations: 0.5348 MB / 0.5785 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.03759, allocations: 114.6 kB / 0.5786 GB, free: 9.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.03775, allocations: 64.81 kB / 0.5787 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.03791, allocations: 35.92 kB / 0.5787 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.03794, allocations: 30.56 kB / 0.5787 GB, free: 9.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.03794, allocations: 3.938 kB / 0.5787 GB, free: 9.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005954/0.03854, allocations: 221.3 kB / 0.5789 GB, free: 9.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.03859, allocations: 55.41 kB / 0.579 GB, free: 9.516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.03891, allocations: 317.7 kB / 0.5793 GB, free: 9.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.03894, allocations: 29.7 kB / 0.5793 GB, free: 9.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.0391, allocations: 200.4 kB / 0.5795 GB, free: 8.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.03915, allocations: 43.62 kB / 0.5796 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.03921, allocations: 37.67 kB / 0.5796 GB, free: 8.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.03937, allocations: 342.8 kB / 0.5799 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.03952, allocations: 52.77 kB / 0.58 GB, free: 8.477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.03978, allocations: 250.4 kB / 0.5802 GB, free: 8.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.04007, allocations: 109.7 kB / 0.5803 GB, free: 8.066 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.04007, allocations: 0 / 0.5803 GB, free: 8.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003863/0.04046, allocations: 173.3 kB / 0.5805 GB, free: 7.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.04048, allocations: 11.98 kB / 0.5805 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.04049, allocations: 8 kB / 0.5805 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.0405, allocations: 0 / 0.5805 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.04066, allocations: 28.08 kB / 0.5805 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.04066, allocations: 3.938 kB / 0.5805 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.04082, allocations: 15.94 kB / 0.5805 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.04085, allocations: 4 kB / 0.5805 GB, free: 7.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002403/0.04109, allocations: 161.2 kB / 0.5807 GB, free: 7.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002472/0.04134, allocations: 242.5 kB / 0.5809 GB, free: 7.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002697/0.04161, allocations: 113.6 kB / 0.581 GB, free: 7.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.04161, allocations: 0 / 0.581 GB, free: 7.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003578/0.04197, allocations: 165.4 kB / 0.5812 GB, free: 7.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.04198, allocations: 9.406 kB / 0.5812 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.04198, allocations: 4 kB / 0.5812 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.04198, allocations: 3.938 kB / 0.5812 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.0421, allocations: 27.92 kB / 0.5812 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.04211, allocations: 3.984 kB / 0.5812 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.04224, allocations: 19.92 kB / 0.5813 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.04225, allocations: 4 kB / 0.5813 GB, free: 7.016 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.0001135/0.04237, allocations: 184.3 kB / 0.5814 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.04243, allocations: 43.69 kB / 0.5815 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.04297, allocations: 243.8 kB / 0.5817 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.04298, allocations: 3.984 kB / 0.5817 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.04298, allocations: 0 / 0.5817 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.04298, allocations: 4 kB / 0.5817 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009004/0.04388, allocations: 0.5472 MB / 0.5823 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.04389, allocations: 0 / 0.5823 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.04401, allocations: 36.02 kB / 0.5823 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.04401, allocations: 4 kB / 0.5823 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.04402, allocations: 0 / 0.5823 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.04403, allocations: 4 kB / 0.5823 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.04403, allocations: 0 / 0.5823 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.0445, allocations: 316.8 kB / 0.5826 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.04461, allocations: 55.67 kB / 0.5827 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.04465, allocations: 4 kB / 0.5827 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.04483, allocations: 15.98 kB / 0.5827 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.04488, allocations: 7.984 kB / 0.5827 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.04489, allocations: 8.062 kB / 0.5827 GB, free: 5.477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.04512, allocations: 227.2 kB / 0.5829 GB, free: 5.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.04512, allocations: 0 / 0.5829 GB, free: 5.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005364/0.04565, allocations: 151.6 kB / 0.583 GB, free: 5.113 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003724/0.04603, allocations: 190.9 kB / 0.5832 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.04656, allocations: 183.8 kB / 0.5834 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.04656, allocations: 0 / 0.5834 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.04674, allocations: 75.89 kB / 0.5835 GB, free: 4.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.04746, allocations: 138.6 kB / 0.5836 GB, free: 4.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.04835, allocations: 0.5506 MB / 0.5841 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.04855, allocations: 193.1 kB / 0.5843 GB, free: 3.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.04874, allocations: 73.72 kB / 0.5844 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.0488, allocations: 28.5 kB / 0.5844 GB, free: 3.637 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.0488, allocations: 3.938 kB / 0.5844 GB, free: 3.633 MB / 494.1 MB Notification: Performance of Templates: time 0.01178/0.06058, allocations: 5.398 MB / 0.5897 GB, free: 14.4 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.376540444791317] Failed to read output from testmodel.py, exit status != 0: 0.06996813043951988 0.083453659 0.046873608000000004 Calling exit ...