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.001222/0.001222, allocations: 103.9 kB / 16.36 MB, free: 6.336 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.001219/0.001219, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002156, allocations: 288.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9266/0.9266, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 98.89 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1506, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4434/0.5941, allocations: 193.8 MB / 0.8709 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008153/0.6023, allocations: 5.143 MB / 0.8759 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008504/0.6031, allocations: 47.69 kB / 0.8759 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.6048, allocations: 0.812 MB / 0.8767 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005208/0.61, allocations: 2.6 MB / 0.8793 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.6124, allocations: 1.111 MB / 0.8803 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.6151, allocations: 2.621 MB / 0.8829 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.6162, allocations: 0.8845 MB / 0.8838 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.6177, allocations: 1.082 MB / 0.8848 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.6188, allocations: 0.9456 MB / 0.8857 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.6189, allocations: 80 kB / 0.8858 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.6218, allocations: 1.785 MB / 0.8876 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.6222, allocations: 430.6 kB / 0.888 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.6228, allocations: 0.6527 MB / 0.8886 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.6253, allocations: 2.161 MB / 0.8907 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6253, allocations: 0 / 0.8907 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6253, allocations: 0 / 0.8907 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.6253, allocations: 0 / 0.8907 GB, free: 8.195 MB / 0.6544 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.004496/0.6298, allocations: 1.934 MB / 0.8926 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.6299, allocations: 8.031 kB / 0.8926 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003796/0.6337, allocations: 0.6576 MB / 0.8933 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.6353, allocations: 0.9454 MB / 0.8942 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.6354, allocations: 69.98 kB / 0.8943 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.6355, allocations: 91.98 kB / 0.8943 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.6384, allocations: 1.47 MB / 0.8958 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.6385, allocations: 3.938 kB / 0.8958 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.6386, allocations: 39.98 kB / 0.8958 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.6386, allocations: 45.98 kB / 0.8959 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003806/0.6425, allocations: 1.514 MB / 0.8973 GB, free: 1.227 MB / 0.6544 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.00689/0.6494, allocations: 5.485 MB / 0.9027 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.6529, allocations: 1.289 MB / 0.904 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.6546, allocations: 0.6519 MB / 0.9046 GB, free: 9.512 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008415/0.6554, allocations: 0.5773 MB / 0.9052 GB, free: 8.824 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.6572, allocations: 0.7107 MB / 0.9059 GB, free: 8.098 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 2.916e-06/0.6572, allocations: 3.938 kB / 0.9059 GB, free: 8.094 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.006713/0.6639, allocations: 1.878 MB / 0.9077 GB, free: 6.211 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.664, allocations: 64.06 kB / 0.9077 GB, free: 6.137 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.6663, allocations: 1.242 MB / 0.909 GB, free: 4.887 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.6664, allocations: 45.7 kB / 0.909 GB, free: 4.836 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006386/0.667, allocations: 0.5792 MB / 0.9096 GB, free: 4.25 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.6674, allocations: 276.2 kB / 0.9098 GB, free: 3.977 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.6679, allocations: 182.4 kB / 0.91 GB, free: 3.793 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6681, allocations: 341.9 kB / 0.9103 GB, free: 3.453 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.6705, allocations: 0.5367 MB / 0.9109 GB, free: 2.914 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002829/0.6734, allocations: 0.8213 MB / 0.9117 GB, free: 1.984 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/0.6784, allocations: 1.328 MB / 0.913 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.6784, allocations: 4 kB / 0.913 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00717/0.6856, allocations: 1.483 MB / 0.9144 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.6857, allocations: 11.94 kB / 0.9144 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.6857, allocations: 11.98 kB / 0.9144 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.6858, allocations: 12 kB / 0.9144 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.6886, allocations: 296 kB / 0.9147 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.205e-05/0.6886, allocations: 15.94 kB / 0.9147 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/0.691, allocations: 194.7 kB / 0.9149 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.6912, allocations: 51.97 kB / 0.915 GB, free: 14.48 MB / 0.6856 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.0008767/0.6921, allocations: 339 kB / 0.9153 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.6925, allocations: 138.2 kB / 0.9154 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007282/0.6998, allocations: 1.412 MB / 0.9168 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.6998, allocations: 8 kB / 0.9168 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6999, allocations: 7.938 kB / 0.9168 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.6999, allocations: 3.984 kB / 0.9168 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.7106, allocations: 2.799 MB / 0.9196 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.7106, allocations: 4 kB / 0.9196 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.7122, allocations: 224.2 kB / 0.9198 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.7122, allocations: 11.94 kB / 0.9198 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.7123, allocations: 23.98 kB / 0.9198 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.7123, allocations: 15.92 kB / 0.9198 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7123, allocations: 4 kB / 0.9198 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/0.7177, allocations: 2.244 MB / 0.922 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.7183, allocations: 295.2 kB / 0.9223 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.7185, allocations: 25.11 kB / 0.9223 GB, free: 6.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.7196, allocations: 111.9 kB / 0.9224 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.7198, allocations: 60.36 kB / 0.9225 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/0.7199, allocations: 39.97 kB / 0.9225 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001043/0.7209, allocations: 0.8522 MB / 0.9234 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7209, allocations: 4.094 kB / 0.9234 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001017/0.722, allocations: 319.5 kB / 0.9237 GB, free: 5.371 MB / 0.6856 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.00128/0.7233, allocations: 0.5377 MB / 0.9242 GB, free: 5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003559/0.7268, allocations: 1.294 MB / 0.9255 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7268, allocations: 0 / 0.9255 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.7285, allocations: 0.6404 MB / 0.9261 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.731, allocations: 0.589 MB / 0.9267 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.7357, allocations: 2.561 MB / 0.9292 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007324/0.7365, allocations: 1.171 MB / 0.9303 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001166/0.7376, allocations: 341.9 kB / 0.9306 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.7381, allocations: 111.4 kB / 0.9307 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of SimCode: time 8.42e-07/0.7381, allocations: 0 / 0.9307 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of Templates: time 0.03493/0.773, allocations: 22.21 MB / 0.9524 GB, free: 8.344 MB / 0.7169 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)