Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001294/0.001294, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 294.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8928/0.8928, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 91.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5088, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2155/0.7244, allocations: 193.8 MB / 0.9563 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3966/1.121, allocations: 5.132 MB / 0.9614 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009448/1.122, allocations: 49.03 kB / 0.9614 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/1.124, allocations: 0.8106 MB / 0.9622 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005346/1.129, allocations: 2.602 MB / 0.9647 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/1.132, allocations: 1.107 MB / 0.9658 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003156/1.135, allocations: 2.613 MB / 0.9684 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/1.136, allocations: 0.8934 MB / 0.9692 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/1.138, allocations: 1.108 MB / 0.9703 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/1.139, allocations: 0.9509 MB / 0.9713 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/1.139, allocations: 78.81 kB / 0.9713 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/1.142, allocations: 1.782 MB / 0.9731 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/1.142, allocations: 435.3 kB / 0.9735 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005465/1.143, allocations: 0.6438 MB / 0.9741 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/1.145, allocations: 2.174 MB / 0.9762 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.145, allocations: 2.969 kB / 0.9762 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/1.145, allocations: 0.6875 kB / 0.9762 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.445e-05/1.145, allocations: 0 / 0.9762 GB, free: 1.465 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004375/1.15, allocations: 1.93 MB / 0.9781 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.15, allocations: 14.91 kB / 0.9781 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/1.153, allocations: 0.6585 MB / 0.9788 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/1.155, allocations: 0.9427 MB / 0.9797 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/1.155, allocations: 67.88 kB / 0.9798 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.155, allocations: 86.66 kB / 0.9799 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/1.158, allocations: 1.478 MB / 0.9813 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.158, allocations: 5 kB / 0.9813 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/1.158, allocations: 31.59 kB / 0.9813 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/1.158, allocations: 50.14 kB / 0.9814 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003367/1.161, allocations: 1.521 MB / 0.9829 GB, free: 15.82 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.005895/1.167, allocations: 5.471 MB / 0.9882 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/1.17, allocations: 1.284 MB / 0.9895 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/1.172, allocations: 0.6629 MB / 0.9901 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007899/1.173, allocations: 0.5825 MB / 0.9907 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/1.174, allocations: 0.7037 MB / 0.9914 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 2.916e-06/1.174, allocations: 0 / 0.9914 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.005211/1.179, allocations: 1.882 MB / 0.9932 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/1.18, allocations: 63.62 kB / 0.9933 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/1.181, allocations: 1.231 MB / 0.9945 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.357e-05/1.181, allocations: 46.86 kB / 0.9945 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/1.181, allocations: 0.5787 MB / 0.9951 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/1.181, allocations: 281.7 kB / 0.9953 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/1.182, allocations: 182.5 kB / 0.9955 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.182, allocations: 345.1 kB / 0.9958 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/1.183, allocations: 0.5336 MB / 0.9964 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.185, allocations: 0.8257 MB / 0.9972 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/1.188, allocations: 1.323 MB / 0.9985 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/1.188, allocations: 4 kB / 0.9985 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003517/1.191, allocations: 1.494 MB / 0.9999 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.191, allocations: 11.22 kB / 0.9999 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.191, allocations: 12.16 kB / 0.9999 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.191, allocations: 10.78 kB / 1 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.193, allocations: 290.6 kB / 1 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.193, allocations: 22.75 kB / 1 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.194, allocations: 192.1 kB / 1 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/1.194, allocations: 59.3 kB / 1 GB, free: 10.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0004964/1.195, allocations: 340.9 kB / 1.001 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/1.195, allocations: 136.2 kB / 1.001 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/1.198, allocations: 1.402 MB / 1.002 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.198, allocations: 7.656 kB / 1.002 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.198, allocations: 0 / 1.002 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/1.198, allocations: 5.109 kB / 1.002 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004934/1.203, allocations: 2.803 MB / 1.005 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.203, allocations: 2.562 kB / 1.005 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.204, allocations: 228.5 kB / 1.005 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/1.204, allocations: 8.125 kB / 1.005 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/1.204, allocations: 35.25 kB / 1.005 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/1.204, allocations: 9.125 kB / 1.005 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.204, allocations: 6.75 kB / 1.005 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/1.209, allocations: 2.247 MB / 1.008 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/1.21, allocations: 294.5 kB / 1.008 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.21, allocations: 30 kB / 1.008 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009982/1.211, allocations: 109.3 kB / 1.008 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.211, allocations: 63.72 kB / 1.008 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/1.211, allocations: 35.3 kB / 1.008 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000875/1.212, allocations: 0.8526 MB / 1.009 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.212, allocations: 1.203 kB / 1.009 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000867/1.213, allocations: 322.2 kB / 1.009 GB, free: 8.801 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001112/1.214, allocations: 0.5388 MB / 1.01 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003128/1.217, allocations: 1.281 MB / 1.011 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.217, allocations: 3.219 kB / 1.011 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.219, allocations: 0.642 MB / 1.012 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.221, allocations: 0.5933 MB / 1.012 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/1.226, allocations: 2.618 MB / 1.015 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/1.226, allocations: 1.17 MB / 1.016 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/1.227, allocations: 127.3 kB / 1.016 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/1.227, allocations: 0 / 1.016 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.02535/1.252, allocations: 20.5 MB / 1.036 GB, free: 8.93 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)