Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001116/0.001116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 194.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB 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: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.45 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2917, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.8302/1.122, allocations: 194 MB / 1.258 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009792/1.132, allocations: 6.939 MB / 1.264 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/1.133, allocations: 47.31 kB / 1.264 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/1.135, allocations: 0.6798 MB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005814/1.141, allocations: 2.345 MB / 1.267 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/1.144, allocations: 1.409 MB / 1.269 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00391/1.148, allocations: 2.981 MB / 1.272 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/1.15, allocations: 0.8919 MB / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/1.153, allocations: 1.129 MB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/1.155, allocations: 0.7987 MB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/1.155, allocations: 100.2 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005016/1.16, allocations: 2.052 MB / 1.277 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006114/1.161, allocations: 363.1 kB / 1.277 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009323/1.162, allocations: 0.5927 MB / 1.277 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005627/1.168, allocations: 2.367 MB / 1.28 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.168, allocations: 0 / 1.28 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/1.168, allocations: 3.953 kB / 1.28 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.544e-05/1.168, allocations: 0 / 1.28 GB, free: 5.922 MB / 0.9981 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.004296/1.172, allocations: 1.625 MB / 1.281 GB, free: 21.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.172, allocations: 9.766 kB / 1.281 GB, free: 21.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/1.176, allocations: 0.5367 MB / 1.282 GB, free: 20.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/1.178, allocations: 0.9882 MB / 1.283 GB, free: 20.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001279/1.179, allocations: 273.8 kB / 1.283 GB, free: 20.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/1.179, allocations: 68.19 kB / 1.283 GB, free: 20.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/1.182, allocations: 1.131 MB / 1.284 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.182, allocations: 9.219 kB / 1.284 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/1.182, allocations: 29.3 kB / 1.284 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/1.182, allocations: 30.8 kB / 1.284 GB, free: 20.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/1.185, allocations: 1.2 MB / 1.286 GB, free: 20.53 MB / 1.014 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.005706/1.191, allocations: 3.211 MB / 1.289 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/1.193, allocations: 0.6906 MB / 1.289 GB, free: 19.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/1.194, allocations: 421.6 kB / 1.29 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009187/1.195, allocations: 1.024 MB / 1.291 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009531/1.195, allocations: 0.5137 MB / 1.291 GB, free: 18.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.244e-06/1.195, allocations: 0.7812 kB / 1.291 GB, free: 18.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.002978/1.198, allocations: 1.224 MB / 1.292 GB, free: 18.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/1.199, allocations: 144.2 kB / 1.293 GB, free: 18.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/1.201, allocations: 1.194 MB / 1.294 GB, free: 17.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.201, allocations: 41.73 kB / 1.294 GB, free: 17.85 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/1.201, allocations: 432.7 kB / 1.294 GB, free: 17.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/1.201, allocations: 194.5 kB / 1.294 GB, free: 17.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/1.202, allocations: 148.1 kB / 1.295 GB, free: 17.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.202, allocations: 328.4 kB / 1.295 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.203, allocations: 459.9 kB / 1.295 GB, free: 17.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/1.205, allocations: 0.6119 MB / 1.296 GB, free: 17.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/1.207, allocations: 0.9461 MB / 1.297 GB, free: 16.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.207, allocations: 1.125 kB / 1.297 GB, free: 16.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003288/1.21, allocations: 1.237 MB / 1.298 GB, free: 16.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/1.21, allocations: 37.64 kB / 1.298 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.21, allocations: 3.5 kB / 1.298 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.21, allocations: 5.594 kB / 1.298 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009803/1.211, allocations: 206.1 kB / 1.298 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.211, allocations: 9.531 kB / 1.298 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.213, allocations: 270.1 kB / 1.299 GB, free: 16.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/1.213, allocations: 37.09 kB / 1.299 GB, free: 16.7 MB / 1.014 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.0004898/1.213, allocations: 329.9 kB / 1.299 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/1.214, allocations: 116.9 kB / 1.299 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/1.216, allocations: 1.001 MB / 1.3 GB, free: 16.37 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.216, allocations: 12.53 kB / 1.3 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.216, allocations: 1.312 kB / 1.3 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.216, allocations: 7.844 kB / 1.3 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004559/1.22, allocations: 3.157 MB / 1.303 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.22, allocations: 7.125 kB / 1.303 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/1.221, allocations: 119.6 kB / 1.303 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/1.221, allocations: 9.875 kB / 1.303 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/1.221, allocations: 31.12 kB / 1.303 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/1.221, allocations: 13.5 kB / 1.303 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/1.221, allocations: 12.8 kB / 1.303 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/1.223, allocations: 1.342 MB / 1.305 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/1.224, allocations: 329.2 kB / 1.305 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/1.224, allocations: 23.73 kB / 1.305 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.225, allocations: 107.9 kB / 1.305 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.225, allocations: 65.64 kB / 1.305 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/1.225, allocations: 39.97 kB / 1.305 GB, free: 14.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001557/1.227, allocations: 0.8707 MB / 1.306 GB, free: 14.69 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.012e-06/1.227, allocations: 0 / 1.306 GB, free: 14.69 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001146/1.228, allocations: 305 kB / 1.306 GB, free: 14.66 MB / 1.014 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.0007392/1.229, allocations: 341.6 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002497/1.231, allocations: 1.049 MB / 1.308 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.231, allocations: 2.531 kB / 1.308 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008529/1.232, allocations: 0.5135 MB / 1.308 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/1.235, allocations: 0.5653 MB / 1.309 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/1.238, allocations: 2.047 MB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/1.239, allocations: 1.068 MB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001297/1.24, allocations: 275.9 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/1.24, allocations: 81.75 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of SimCode: time 3.145e-06/1.24, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of Templates: time 0.03521/1.276, allocations: 22.07 MB / 1.334 GB, free: 7.02 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)