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.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.001441/0.001441, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001575/0.001575, allocations: 189.9 kB / 22.85 MB, free: 5.648 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.389/1.389, allocations: 225.6 MB / 251.5 MB, free: 13.04 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.002513/0.002513, allocations: 277 kB / 307 MB, free: 8.352 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.185/1.185, allocations: 180.8 MB / 0.5304 GB, free: 14.49 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.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: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 101.5 kB / 0.7311 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1563, allocations: 94.21 MB / 0.8231 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2224/0.3786, allocations: 192.5 MB / 1.011 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.4445/0.8232, allocations: 6.917 MB / 1.018 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.8249, allocations: 65.78 kB / 1.018 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.8268, allocations: 0.7127 MB / 1.019 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006701/0.8335, allocations: 2.495 MB / 1.021 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00407/0.8376, allocations: 1.501 MB / 1.023 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005068/0.8427, allocations: 3.043 MB / 1.025 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.8443, allocations: 0.7033 MB / 1.026 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.8478, allocations: 1.176 MB / 1.027 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.8499, allocations: 0.8595 MB / 1.028 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.8502, allocations: 99.81 kB / 1.028 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.8547, allocations: 1.722 MB / 1.03 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005863/0.8553, allocations: 381.6 kB / 1.03 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.8564, allocations: 0.5835 MB / 1.031 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.8612, allocations: 2.348 MB / 1.033 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8612, allocations: 0 / 1.033 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8612, allocations: 0 / 1.033 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.8612, allocations: 1.094 kB / 1.033 GB, free: 3.262 MB / 0.7481 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.003415/0.8646, allocations: 1.6 MB / 1.035 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8646, allocations: 11.34 kB / 1.035 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.8678, allocations: 0.5356 MB / 1.035 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.87, allocations: 0.9724 MB / 1.036 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.87, allocations: 52.69 kB / 1.036 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.8701, allocations: 71.06 kB / 1.036 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.8726, allocations: 1.236 MB / 1.038 GB, free: 17.84 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.8727, allocations: 1.5 kB / 1.038 GB, free: 17.84 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.8727, allocations: 31.42 kB / 1.038 GB, free: 17.84 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.8728, allocations: 33.19 kB / 1.038 GB, free: 17.83 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.8758, allocations: 1.196 MB / 1.039 GB, free: 17.8 MB / 0.7637 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.005755/0.8815, allocations: 3.113 MB / 1.042 GB, free: 16.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.8831, allocations: 0.684 MB / 1.042 GB, free: 16.84 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/0.8839, allocations: 428.2 kB / 1.043 GB, free: 16.8 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004685/0.8843, allocations: 126.9 kB / 1.043 GB, free: 16.8 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.8854, allocations: 0.6472 MB / 1.044 GB, free: 16.54 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=57): time 2.014e-06/0.8854, allocations: 1.031 kB / 1.044 GB, free: 16.54 MB / 0.7637 GB Notification: Performance of matching and sorting (n=57): time 0.002947/0.8883, allocations: 1.288 MB / 1.045 GB, free: 16.34 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.8884, allocations: 141.5 kB / 1.045 GB, free: 16.19 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.8901, allocations: 1.178 MB / 1.046 GB, free: 16.04 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.583e-05/0.8902, allocations: 40.2 kB / 1.046 GB, free: 16.01 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.8905, allocations: 450.4 kB / 1.047 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.8907, allocations: 191.9 kB / 1.047 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.8909, allocations: 155 kB / 1.047 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8911, allocations: 329.1 kB / 1.047 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.8923, allocations: 474.5 kB / 1.048 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.8938, allocations: 0.9766 MB / 1.049 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.8957, allocations: 0.9284 MB / 1.05 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8957, allocations: 5.906 kB / 1.05 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003017/0.8988, allocations: 1.244 MB / 1.051 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.8988, allocations: 40.45 kB / 1.051 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8988, allocations: 2.906 kB / 1.051 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.8988, allocations: 5.469 kB / 1.051 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.8997, allocations: 189.2 kB / 1.051 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.8998, allocations: 10.17 kB / 1.051 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.9013, allocations: 248.9 kB / 1.051 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.9014, allocations: 33.67 kB / 1.051 GB, free: 14.35 MB / 0.7637 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.0004803/0.9019, allocations: 338.8 kB / 1.052 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.9021, allocations: 118 kB / 1.052 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.9041, allocations: 1.04 MB / 1.053 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.9041, allocations: 11.56 kB / 1.053 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9041, allocations: 0 / 1.053 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.9041, allocations: 5.828 kB / 1.053 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.9084, allocations: 3.166 MB / 1.056 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9084, allocations: 12 kB / 1.056 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.909, allocations: 120.9 kB / 1.056 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.909, allocations: 15.28 kB / 1.056 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.9091, allocations: 22.89 kB / 1.056 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.9091, allocations: 17.56 kB / 1.056 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9091, allocations: 10.52 kB / 1.056 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.911, allocations: 1.388 MB / 1.057 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/0.9116, allocations: 265.9 kB / 1.058 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.9117, allocations: 26.44 kB / 1.058 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.9129, allocations: 97.36 kB / 1.058 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.913, allocations: 61.38 kB / 1.058 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/0.9131, allocations: 42.59 kB / 1.058 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001346/0.9144, allocations: 0.8495 MB / 1.059 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.9144, allocations: 0 / 1.059 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001122/0.9155, allocations: 302.1 kB / 1.059 GB, free: 12.41 MB / 0.7637 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.0006989/0.9162, allocations: 354.5 kB / 1.059 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.9186, allocations: 1.033 MB / 1.06 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.9186, allocations: 7.625 kB / 1.06 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.9195, allocations: 0.5043 MB / 1.061 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.9224, allocations: 0.5486 MB / 1.061 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.9259, allocations: 2.08 MB / 1.063 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.9266, allocations: 1.076 MB / 1.064 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009912/0.9275, allocations: 276.6 kB / 1.065 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.9278, allocations: 81.11 kB / 1.065 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of SimCode: time 1.523e-06/0.9278, allocations: 3.188 kB / 1.065 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of Templates: time 0.03569/0.9635, allocations: 22.72 MB / 1.087 GB, free: 2.453 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.253682762850076] Failed to read output from testmodel.py, exit status != 0: 0.9704278989229351 0.983744426 0.11951790399999994 Calling exit ...