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.001307/0.001307, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.001428/0.001428, allocations: 163.5 kB / 22.46 MB, free: 5.375 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.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002424/0.002424, allocations: 243.5 kB / 259.4 MB, free: 480 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.072/1.072, allocations: 138.4 MB / 454.3 MB, free: 2.043 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6468 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.679e-05, allocations: 9.516 kB / 0.6468 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.498/0.498, allocations: 142.1 MB / 0.7856 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.5001, allocations: 0.9394 MB / 0.7865 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.5003, allocations: 15.88 kB / 0.7865 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.5009, allocations: 158.8 kB / 0.7867 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.5026, allocations: 0.6569 MB / 0.7873 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.5033, allocations: 259.2 kB / 0.7875 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006788/0.504, allocations: 0.5186 MB / 0.7881 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.5043, allocations: 131.3 kB / 0.7882 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.5049, allocations: 291.1 kB / 0.7885 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.5051, allocations: 159.5 kB / 0.7886 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.5051, allocations: 12 kB / 0.7886 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008646/0.506, allocations: 474.4 kB / 0.7891 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.5061, allocations: 91.7 kB / 0.7892 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.5062, allocations: 75.84 kB / 0.7892 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.507, allocations: 494.6 kB / 0.7897 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.507, allocations: 0 / 0.7897 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.082e-06/0.507, allocations: 0 / 0.7897 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.507, allocations: 0 / 0.7897 GB, free: 14.14 MB / 0.6231 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.001485/0.5085, allocations: 0.532 MB / 0.7902 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5086, allocations: 9.344 kB / 0.7902 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.5088, allocations: 43.83 kB / 0.7903 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.5093, allocations: 235.7 kB / 0.7905 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.5094, allocations: 12.33 kB / 0.7905 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.5094, allocations: 19.94 kB / 0.7905 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.5099, allocations: 239.1 kB / 0.7908 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5099, allocations: 0 / 0.7908 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.51, allocations: 17.31 kB / 0.7908 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.51, allocations: 11.98 kB / 0.7908 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.5106, allocations: 247.8 kB / 0.791 GB, free: 12.73 MB / 0.6231 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.001204/0.5118, allocations: 0.6381 MB / 0.7916 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.5121, allocations: 134.5 kB / 0.7918 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.5123, allocations: 100.9 kB / 0.7919 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/0.5126, allocations: 35.97 kB / 0.7919 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5126, allocations: 34.56 kB / 0.7919 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 3.196e-06/0.5126, allocations: 4 kB / 0.7919 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0009009/0.5135, allocations: 298.9 kB / 0.7922 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5135, allocations: 59.25 kB / 0.7923 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.5137, allocations: 191.1 kB / 0.7925 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.5138, allocations: 29.7 kB / 0.7925 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.5139, allocations: 144.3 kB / 0.7926 GB, free: 11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.5139, allocations: 47.59 kB / 0.7927 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.514, allocations: 37.7 kB / 0.7927 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5141, allocations: 330.8 kB / 0.793 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.5143, allocations: 63.94 kB / 0.7931 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.5146, allocations: 188 kB / 0.7933 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.515, allocations: 169.2 kB / 0.7934 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.515, allocations: 0 / 0.7934 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005005/0.5155, allocations: 213.4 kB / 0.7936 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5155, allocations: 4 kB / 0.7936 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5155, allocations: 0 / 0.7936 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.5156, allocations: 4 kB / 0.7936 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.5158, allocations: 31.92 kB / 0.7937 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5158, allocations: 4 kB / 0.7937 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.5159, allocations: 15.88 kB / 0.7937 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.516, allocations: 16.05 kB / 0.7937 GB, free: 9.848 MB / 0.6231 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.0001475/0.5161, allocations: 137.8 kB / 0.7938 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.5161, allocations: 19.91 kB / 0.7939 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.928e-05/0.5162, allocations: 30.08 kB / 0.7939 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5162, allocations: 0 / 0.7939 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5162, allocations: 0 / 0.7939 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5162, allocations: 3.938 kB / 0.7939 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5173, allocations: 0.5973 MB / 0.7945 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.5173, allocations: 6.5 kB / 0.7945 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.5175, allocations: 31.91 kB / 0.7945 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5175, allocations: 4 kB / 0.7945 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.5175, allocations: 8 kB / 0.7945 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.5175, allocations: 3.938 kB / 0.7945 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5175, allocations: 4.219 kB / 0.7945 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.5181, allocations: 349.2 kB / 0.7949 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.5181, allocations: 35.83 kB / 0.7949 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.5182, allocations: 7.984 kB / 0.7949 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.5183, allocations: 8 kB / 0.7949 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.5184, allocations: 11.97 kB / 0.7949 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.5184, allocations: 11.98 kB / 0.7949 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001235/0.5185, allocations: 139.4 kB / 0.7951 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.5185, allocations: 4 kB / 0.7951 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003681/0.5189, allocations: 67.83 kB / 0.7951 GB, free: 8.285 MB / 0.6231 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.0002742/0.5192, allocations: 146.4 kB / 0.7953 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.5197, allocations: 169.8 kB / 0.7954 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5197, allocations: 0 / 0.7954 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.5199, allocations: 92.38 kB / 0.7955 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.5205, allocations: 86 kB / 0.7956 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.5213, allocations: 435.9 kB / 0.796 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.5215, allocations: 141.2 kB / 0.7962 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.5216, allocations: 57.47 kB / 0.7962 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.5217, allocations: 24.5 kB / 0.7962 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.5217, allocations: 4 kB / 0.7962 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of Templates: time 0.008131/0.5298, allocations: 3.504 MB / 0.7997 GB, free: 3.734 MB / 0.6231 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: 6.1217373088002205] Failed to read output from testmodel.py, exit status != 0: 0.538432851433754 0.55256255 0.042495266000000004 Calling exit ...