Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9404/0.9404, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.000308, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 83.4 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.427/0.5739, allocations: 162 MB / 0.7555 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009876/0.5839, allocations: 6.303 MB / 0.7617 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.5851, allocations: 43.62 kB / 0.7617 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.5869, allocations: 0.6571 MB / 0.7623 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.5913, allocations: 1.671 MB / 0.764 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.5952, allocations: 1.546 MB / 0.7655 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.5981, allocations: 1.697 MB / 0.7671 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.5991, allocations: 0.72 MB / 0.7678 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.6007, allocations: 0.9149 MB / 0.7687 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.6014, allocations: 0.5289 MB / 0.7693 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.6015, allocations: 44 kB / 0.7693 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.604, allocations: 1.162 MB / 0.7704 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.6043, allocations: 291 kB / 0.7707 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.6045, allocations: 237.1 kB / 0.7709 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.6062, allocations: 1.621 MB / 0.7725 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.6062, allocations: 4 kB / 0.7725 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6062, allocations: 0 / 0.7725 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.6062, allocations: 0 / 0.7725 GB, free: 8.66 MB / 0.5919 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.002857/0.6091, allocations: 1.388 MB / 0.7739 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.6091, allocations: 8.031 kB / 0.7739 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.612, allocations: 0.6035 MB / 0.7745 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.6138, allocations: 0.9135 MB / 0.7754 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/0.615, allocations: 321 kB / 0.7757 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.6151, allocations: 71.98 kB / 0.7757 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.6174, allocations: 1.136 MB / 0.7768 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.6175, allocations: 4 kB / 0.7769 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.6176, allocations: 24 kB / 0.7769 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.6176, allocations: 41.23 kB / 0.7769 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/0.6208, allocations: 1.25 MB / 0.7781 GB, free: 2.777 MB / 0.5919 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.005829/0.6266, allocations: 3.265 MB / 0.7813 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.6283, allocations: 0.7036 MB / 0.782 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/0.6289, allocations: 0.6769 MB / 0.7827 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009857/0.6299, allocations: 0.5182 MB / 0.7832 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 3.026e-06/0.6299, allocations: 0 / 0.7832 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.002903/0.6328, allocations: 1.316 MB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.6329, allocations: 140.8 kB / 0.7846 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.6348, allocations: 1.219 MB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.6349, allocations: 37.7 kB / 0.7858 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.6353, allocations: 453.3 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.6354, allocations: 189.4 kB / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.6355, allocations: 8 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6356, allocations: 326 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.6369, allocations: 484.9 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.6383, allocations: 0.6328 MB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.6396, allocations: 0.5346 MB / 0.7884 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6397, allocations: 4 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003074/0.6427, allocations: 1.291 MB / 0.7896 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.6428, allocations: 33.7 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6428, allocations: 4 kB / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6428, allocations: 8 kB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/0.6438, allocations: 212 kB / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.6438, allocations: 8 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.6455, allocations: 311.8 kB / 0.7902 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.6456, allocations: 39.98 kB / 0.7902 GB, free: 5.984 MB / 0.6075 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005147/0.6461, allocations: 324.9 kB / 0.7905 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6463, allocations: 118.5 kB / 0.7906 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.6483, allocations: 1.009 MB / 0.7916 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.6483, allocations: 12.52 kB / 0.7916 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6484, allocations: 0 / 0.7916 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6484, allocations: 3.984 kB / 0.7916 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/0.6531, allocations: 3.19 MB / 0.7947 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.6532, allocations: 11.94 kB / 0.7948 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.6538, allocations: 128 kB / 0.7949 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.6538, allocations: 12 kB / 0.7949 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.6538, allocations: 24 kB / 0.7949 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/0.6539, allocations: 16.55 kB / 0.7949 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.6539, allocations: 11.94 kB / 0.7949 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.6561, allocations: 1.748 MB / 0.7967 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.6567, allocations: 335.3 kB / 0.797 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.6569, allocations: 27.98 kB / 0.797 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.6581, allocations: 131.8 kB / 0.7971 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6582, allocations: 59.83 kB / 0.7972 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.6583, allocations: 39.97 kB / 0.7972 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001573/0.6598, allocations: 0.8872 MB / 0.7981 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6599, allocations: 0 / 0.7981 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001044/0.6609, allocations: 295.8 kB / 0.7984 GB, free: 13.16 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006922/0.6616, allocations: 364.3 kB / 0.7987 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.664, allocations: 1.045 MB / 0.7997 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.664, allocations: 3.938 kB / 0.7997 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009045/0.6649, allocations: 0.5164 MB / 0.8002 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.6674, allocations: 0.5394 MB / 0.8008 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.671, allocations: 2.283 MB / 0.803 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.6717, allocations: 1.089 MB / 0.8041 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001069/0.6727, allocations: 279.7 kB / 0.8043 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.673, allocations: 79.41 kB / 0.8044 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.673, allocations: 0 / 0.8044 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.03296/0.706, allocations: 21.03 MB / 0.8249 GB, free: 2.074 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) Environment - environmentSimulation: