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.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.001676/0.001676, allocations: 102.1 kB / 19.59 MB, free: 2.328 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.00202/0.00202, allocations: 214 kB / 22.87 MB, free: 5.629 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.415/1.415, allocations: 230.5 MB / 256.5 MB, free: 8.07 MB / 206.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.002566/0.002566, allocations: 287.1 kB / 313.2 MB, free: 2.871 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.198/1.198, allocations: 180.8 MB / 0.5376 GB, free: 12.84 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.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(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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 106.6 kB / 0.7405 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1771, allocations: 95.38 MB / 0.8337 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6624/0.8396, allocations: 162.6 MB / 0.9925 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.8417, allocations: 0.9769 MB / 0.9935 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.842, allocations: 12.09 kB / 0.9935 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006235/0.8426, allocations: 161.4 kB / 0.9936 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.8443, allocations: 0.6778 MB / 0.9943 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.845, allocations: 231.9 kB / 0.9945 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000619/0.8456, allocations: 0.5283 MB / 0.995 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.8459, allocations: 140.8 kB / 0.9952 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.8463, allocations: 242.1 kB / 0.9954 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.8465, allocations: 171 kB / 0.9956 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.8466, allocations: 15.16 kB / 0.9956 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007913/0.8474, allocations: 472.8 kB / 0.996 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.8475, allocations: 86.86 kB / 0.9961 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.8476, allocations: 113.4 kB / 0.9962 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007207/0.8483, allocations: 472.1 kB / 0.9967 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.8483, allocations: 2 kB / 0.9967 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8483, allocations: 0 / 0.9967 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8483, allocations: 0.9688 kB / 0.9967 GB, free: 3.668 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.001725/0.8501, allocations: 0.5378 MB / 0.9972 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.8501, allocations: 10.7 kB / 0.9972 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.8504, allocations: 46.91 kB / 0.9972 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.8509, allocations: 225.4 kB / 0.9975 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.8509, allocations: 15.02 kB / 0.9975 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.8509, allocations: 20.92 kB / 0.9975 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.8514, allocations: 245.3 kB / 0.9977 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.8514, allocations: 0 / 0.9977 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.8515, allocations: 4.75 kB / 0.9977 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.8515, allocations: 14.14 kB / 0.9977 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.852, allocations: 248.7 kB / 0.998 GB, free: 19.11 MB / 0.7325 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.001296/0.8533, allocations: 0.8014 MB / 0.9988 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.8537, allocations: 137.5 kB / 0.9989 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.8539, allocations: 105.3 kB / 0.999 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.8541, allocations: 40.23 kB / 0.999 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.8541, allocations: 32.47 kB / 0.9991 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.8541, allocations: 0 / 0.9991 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0008984/0.855, allocations: 299.4 kB / 0.9994 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.8551, allocations: 57.5 kB / 0.9994 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.8554, allocations: 244.4 kB / 0.9996 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.8554, allocations: 32.08 kB / 0.9997 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.8555, allocations: 137.7 kB / 0.9998 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.8556, allocations: 52.42 kB / 0.9999 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.8556, allocations: 36.44 kB / 0.9999 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8558, allocations: 335 kB / 1 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.856, allocations: 67.52 kB / 1 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.8563, allocations: 181.9 kB / 1 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.8567, allocations: 173.5 kB / 1.001 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.8567, allocations: 0 / 1.001 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005243/0.8572, allocations: 210.1 kB / 1.001 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8573, allocations: 6.531 kB / 1.001 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8573, allocations: 1.125 kB / 1.001 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8573, allocations: 6.359 kB / 1.001 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.8575, allocations: 32.91 kB / 1.001 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.8575, allocations: 1.562 kB / 1.001 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.8577, allocations: 27.84 kB / 1.001 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.8577, allocations: 7.422 kB / 1.001 GB, free: 17.74 MB / 0.7325 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.0001459/0.8579, allocations: 146.7 kB / 1.001 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.8579, allocations: 28.66 kB / 1.001 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.858, allocations: 29.05 kB / 1.001 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.858, allocations: 5.5 kB / 1.001 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.858, allocations: 1.578 kB / 1.001 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.858, allocations: 1.594 kB / 1.001 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.8592, allocations: 0.6488 MB / 1.002 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8592, allocations: 3.484 kB / 1.002 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.8593, allocations: 31.92 kB / 1.002 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.8593, allocations: 3.188 kB / 1.002 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.8594, allocations: 7.344 kB / 1.002 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.8594, allocations: 4.312 kB / 1.002 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8594, allocations: 2.094 kB / 1.002 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.8599, allocations: 360.2 kB / 1.002 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.905e-05/0.86, allocations: 37.53 kB / 1.002 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.8601, allocations: 7.75 kB / 1.002 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.8603, allocations: 12.66 kB / 1.002 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.8603, allocations: 18.08 kB / 1.002 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.8603, allocations: 10.77 kB / 1.002 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002049/0.8605, allocations: 178.7 kB / 1.002 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8605, allocations: 0.7812 kB / 1.002 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004067/0.861, allocations: 63.39 kB / 1.002 GB, free: 16.98 MB / 0.7325 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.0002721/0.8612, allocations: 142.7 kB / 1.003 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005057/0.8617, allocations: 165.8 kB / 1.003 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8617, allocations: 0 / 1.003 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.862, allocations: 98.83 kB / 1.003 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.8628, allocations: 120.3 kB / 1.003 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.8636, allocations: 455.2 kB / 1.003 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.8638, allocations: 140.7 kB / 1.004 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000224/0.864, allocations: 64.3 kB / 1.004 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.8641, allocations: 27.45 kB / 1.004 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8641, allocations: 3.094 kB / 1.004 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.00987/0.8739, allocations: 4.556 MB / 1.008 GB, free: 16.41 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.681601878000947] Failed to read output from testmodel.py, exit status != 0: 0.8812416279979516 0.8933090480000001 0.042305162 Calling exit ...