Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 113.4 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 192.6 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 248.5 MB, free: 3.578 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002458/0.002458, allocations: 290.6 kB / 303.6 MB, free: 3.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 180.9 MB / 0.5268 GB, free: 2.664 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 103.8 kB / 0.7259 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5767, allocations: 94.15 MB / 0.8178 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1888/0.7654, allocations: 161.8 MB / 0.9759 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.7675, allocations: 0.9568 MB / 0.9768 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.7677, allocations: 7.938 kB / 0.9768 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.7683, allocations: 170.9 kB / 0.977 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.7699, allocations: 0.6652 MB / 0.9776 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.7705, allocations: 219.4 kB / 0.9779 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.7712, allocations: 0.5148 MB / 0.9784 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.7715, allocations: 156.2 kB / 0.9785 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.772, allocations: 243 kB / 0.9787 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.7722, allocations: 171.3 kB / 0.9789 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.7722, allocations: 12 kB / 0.9789 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009246/0.7731, allocations: 0.5805 MB / 0.9795 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.7733, allocations: 91.7 kB / 0.9796 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.7734, allocations: 111.4 kB / 0.9797 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.7741, allocations: 494.1 kB / 0.9801 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.7741, allocations: 0 / 0.9801 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.011e-06/0.7741, allocations: 0 / 0.9801 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7741, allocations: 0 / 0.9801 GB, free: 10.41 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001407/0.7755, allocations: 0.6034 MB / 0.9807 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.7756, allocations: 12.03 kB / 0.9807 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.7758, allocations: 55.77 kB / 0.9808 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.7763, allocations: 290.5 kB / 0.9811 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.7764, allocations: 16.27 kB / 0.9811 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.7764, allocations: 16 kB / 0.9811 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.7769, allocations: 239.1 kB / 0.9813 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.7769, allocations: 0 / 0.9813 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.777, allocations: 8 kB / 0.9813 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.777, allocations: 8 kB / 0.9814 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.7776, allocations: 251.8 kB / 0.9816 GB, free: 8.836 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.7789, allocations: 0.8317 MB / 0.9824 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.7793, allocations: 138.4 kB / 0.9825 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.7795, allocations: 104.9 kB / 0.9826 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.7798, allocations: 198.2 kB / 0.9828 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.7798, allocations: 30.56 kB / 0.9829 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 3.356e-06/0.7798, allocations: 3.984 kB / 0.9829 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0008596/0.7807, allocations: 305.3 kB / 0.9832 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.7807, allocations: 59.34 kB / 0.9832 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.781, allocations: 241 kB / 0.9834 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.781, allocations: 29.7 kB / 0.9835 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.7811, allocations: 132.3 kB / 0.9836 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.7812, allocations: 55.52 kB / 0.9836 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.7812, allocations: 33.7 kB / 0.9837 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7814, allocations: 334.8 kB / 0.984 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.7816, allocations: 67.94 kB / 0.9841 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.7818, allocations: 104.6 kB / 0.9842 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.7822, allocations: 170.4 kB / 0.9843 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7822, allocations: 3.938 kB / 0.9843 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004581/0.7826, allocations: 216.3 kB / 0.9845 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.7826, allocations: 11.92 kB / 0.9845 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7826, allocations: 4 kB / 0.9845 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7827, allocations: 0 / 0.9845 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.7828, allocations: 32.05 kB / 0.9846 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7829, allocations: 0 / 0.9846 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.783, allocations: 23.88 kB / 0.9846 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.7831, allocations: 7.984 kB / 0.9846 GB, free: 5.547 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001381/0.7832, allocations: 146.3 kB / 0.9847 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.7832, allocations: 27.8 kB / 0.9848 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.7833, allocations: 25.83 kB / 0.9848 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.7833, allocations: 4 kB / 0.9848 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7833, allocations: 8 kB / 0.9848 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7833, allocations: 0 / 0.9848 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.7844, allocations: 0.6757 MB / 0.9855 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7844, allocations: 4 kB / 0.9855 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.7846, allocations: 31.92 kB / 0.9855 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.7846, allocations: 0 / 0.9855 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.7846, allocations: 11.98 kB / 0.9855 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.7846, allocations: 4 kB / 0.9855 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7846, allocations: 0 / 0.9855 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.7851, allocations: 353.4 kB / 0.9859 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.7853, allocations: 117 kB / 0.986 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.7853, allocations: 7.984 kB / 0.986 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.7855, allocations: 8 kB / 0.986 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.7855, allocations: 23.8 kB / 0.986 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.7855, allocations: 8 kB / 0.986 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001717/0.7857, allocations: 176.5 kB / 0.9862 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7857, allocations: 0 / 0.9862 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003488/0.7861, allocations: 63.94 kB / 0.9862 GB, free: 3.723 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 14 * 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.0003587/0.7864, allocations: 160.5 kB / 0.9864 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005218/0.787, allocations: 171.8 kB / 0.9866 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.787, allocations: 0 / 0.9866 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.7872, allocations: 92.38 kB / 0.9866 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.7879, allocations: 124.1 kB / 0.9868 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.7887, allocations: 485.8 kB / 0.9872 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.7892, allocations: 0.7519 MB / 0.988 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.7893, allocations: 27.42 kB / 0.988 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7893, allocations: 0 / 0.988 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.006601/0.7959, allocations: 3.735 MB / 0.9916 GB, free: 14.16 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.546407178000663] Failed to read output from testmodel.py, exit status != 0: 0.8041431809979258 0.817077961 0.040113434 Calling exit ...