Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001309/0.001309, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001626/0.001626, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.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.002792/0.002792, allocations: 286.6 kB / 313.5 MB, free: 2.824 MB / 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.143/1.143, allocations: 180.6 MB / 0.5377 GB, free: 13 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 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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [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.002793/0.002793, allocations: 104 kB / 0.7408 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1633, allocations: 95.39 MB / 0.834 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5933/0.7567, allocations: 198.1 MB / 1.027 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008992/0.7656, allocations: 6.985 MB / 1.034 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.7672, allocations: 62 kB / 1.034 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.7687, allocations: 0.7111 MB / 1.035 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005491/0.7741, allocations: 2.492 MB / 1.037 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.7773, allocations: 1.486 MB / 1.039 GB, free: 112 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004328/0.7816, allocations: 3.086 MB / 1.042 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.7827, allocations: 0.7202 MB / 1.043 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.7854, allocations: 1.178 MB / 1.044 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.7868, allocations: 0.857 MB / 1.045 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.787, allocations: 99.53 kB / 1.045 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004101/0.7911, allocations: 2.197 MB / 1.047 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004384/0.7915, allocations: 381 kB / 1.047 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007461/0.7922, allocations: 0.5852 MB / 1.048 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004345/0.7966, allocations: 2.402 MB / 1.05 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7966, allocations: 6.75 kB / 1.05 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7966, allocations: 4 kB / 1.05 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.312e-05/0.7966, allocations: 0 / 1.05 GB, free: 14.58 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003418/0.8, allocations: 1.586 MB / 1.052 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.8001, allocations: 10.88 kB / 1.052 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.8028, allocations: 0.5464 MB / 1.052 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.805, allocations: 0.9685 MB / 1.053 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.805, allocations: 57.41 kB / 1.053 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.8051, allocations: 66.22 kB / 1.053 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.8073, allocations: 1.11 MB / 1.054 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.8073, allocations: 3.984 kB / 1.054 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.8074, allocations: 30.78 kB / 1.054 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.8074, allocations: 36.42 kB / 1.054 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.8101, allocations: 1.163 MB / 1.056 GB, free: 11.43 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.005712/0.8158, allocations: 3.119 MB / 1.059 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.8175, allocations: 0.654 MB / 1.059 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007188/0.8182, allocations: 395.2 kB / 1.06 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004991/0.8187, allocations: 132.7 kB / 1.06 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009571/0.8196, allocations: 0.5078 MB / 1.06 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/0.8196, allocations: 0 / 1.06 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.002845/0.8225, allocations: 1.227 MB / 1.061 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/0.8226, allocations: 140.8 kB / 1.062 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.8244, allocations: 1.182 MB / 1.063 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.701e-05/0.8245, allocations: 38.95 kB / 1.063 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/0.8249, allocations: 446.4 kB / 1.063 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.8251, allocations: 193.6 kB / 1.063 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.8253, allocations: 150.3 kB / 1.064 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8255, allocations: 328.8 kB / 1.064 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.8266, allocations: 437.4 kB / 1.064 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.8279, allocations: 0.5986 MB / 1.065 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.8298, allocations: 0.9303 MB / 1.066 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.8298, allocations: 3.156 kB / 1.066 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002918/0.8327, allocations: 1.196 MB / 1.067 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/0.8328, allocations: 43.36 kB / 1.067 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8328, allocations: 2.531 kB / 1.067 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.8328, allocations: 9.391 kB / 1.067 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.8337, allocations: 187.7 kB / 1.067 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.8337, allocations: 15.59 kB / 1.067 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.8351, allocations: 242.2 kB / 1.067 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/0.8352, allocations: 42.38 kB / 1.067 GB, free: 3.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004993/0.8357, allocations: 322.5 kB / 1.068 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.8359, allocations: 125.2 kB / 1.068 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.8379, allocations: 1.005 MB / 1.069 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.8379, allocations: 7.438 kB / 1.069 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.8379, allocations: 3.938 kB / 1.069 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.8379, allocations: 6.734 kB / 1.069 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/0.843, allocations: 3.14 MB / 1.072 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.843, allocations: 12 kB / 1.072 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.8435, allocations: 121.7 kB / 1.072 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.8436, allocations: 10.41 kB / 1.072 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.8436, allocations: 24.7 kB / 1.072 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.8436, allocations: 10.09 kB / 1.072 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.8436, allocations: 14.19 kB / 1.072 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.8458, allocations: 1.354 MB / 1.073 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/0.8464, allocations: 251.4 kB / 1.074 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.8466, allocations: 28.86 kB / 1.074 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.8476, allocations: 96.69 kB / 1.074 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.8477, allocations: 67.83 kB / 1.074 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/0.8478, allocations: 43.14 kB / 1.074 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00138/0.8491, allocations: 0.8524 MB / 1.075 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8491, allocations: 0 / 1.075 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001042/0.8502, allocations: 299.9 kB / 1.075 GB, free: 14.84 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.000616/0.8508, allocations: 336 kB / 1.075 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.853, allocations: 0.9642 MB / 1.076 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.853, allocations: 2.562 kB / 1.076 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008519/0.8539, allocations: 495.9 kB / 1.077 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.8564, allocations: 0.548 MB / 1.077 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.86, allocations: 2.105 MB / 1.079 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/0.8607, allocations: 1.061 MB / 1.08 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.861, allocations: 94.3 kB / 1.08 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of SimCode: time 8.62e-07/0.861, allocations: 0 / 1.08 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of Templates: time 0.02756/0.8886, allocations: 18.88 MB / 1.099 GB, free: 10.05 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.755083411000669] Failed to read output from testmodel.py, exit status != 0: 0.8963961368426681 0.910588018 0.110938511 Calling exit ...