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.001113/0.001113, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001097/0.001097, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.305/1.305, 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.001949/0.001949, allocations: 282.6 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.9111/0.9111, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 103 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1483, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4379/0.5862, allocations: 193.8 MB / 0.8709 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008304/0.5945, allocations: 5.143 MB / 0.8759 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.5957, allocations: 47.69 kB / 0.8759 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.5975, allocations: 0.8081 MB / 0.8767 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/0.6035, allocations: 2.607 MB / 0.8793 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/0.6066, allocations: 1.107 MB / 0.8804 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003349/0.6099, allocations: 2.617 MB / 0.8829 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.6113, allocations: 0.8891 MB / 0.8838 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.6131, allocations: 1.086 MB / 0.8848 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.6145, allocations: 0.9418 MB / 0.8858 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.6146, allocations: 76 kB / 0.8858 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.6178, allocations: 1.793 MB / 0.8876 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.6183, allocations: 430.6 kB / 0.888 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.6189, allocations: 0.6448 MB / 0.8886 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002874/0.6218, allocations: 2.161 MB / 0.8907 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6218, allocations: 0 / 0.8907 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6219, allocations: 3.938 kB / 0.8907 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.6219, allocations: 3.938 kB / 0.8907 GB, free: 8.211 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.004495/0.6264, allocations: 1.934 MB / 0.8926 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6264, allocations: 8.031 kB / 0.8926 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/0.6302, allocations: 0.6615 MB / 0.8933 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.6318, allocations: 0.9424 MB / 0.8942 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.6319, allocations: 73.92 kB / 0.8943 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.632, allocations: 88 kB / 0.8944 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.6349, allocations: 1.466 MB / 0.8958 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.635, allocations: 11.92 kB / 0.8958 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.6351, allocations: 39.98 kB / 0.8958 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/0.6351, allocations: 45.98 kB / 0.8959 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.6389, allocations: 1.518 MB / 0.8974 GB, free: 1.234 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.006775/0.6457, allocations: 5.483 MB / 0.9027 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.649, allocations: 1.277 MB / 0.904 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.6506, allocations: 0.6558 MB / 0.9046 GB, free: 9.527 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007865/0.6514, allocations: 0.5773 MB / 0.9052 GB, free: 8.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.6531, allocations: 0.7107 MB / 0.9059 GB, free: 8.113 MB / 0.67 GB Notification: Performance of pre-optimization done (n=80): time 2.675e-06/0.6531, allocations: 0 / 0.9059 GB, free: 8.113 MB / 0.67 GB Notification: Performance of matching and sorting (n=80): time 0.005377/0.6585, allocations: 1.878 MB / 0.9077 GB, free: 6.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.6585, allocations: 64.06 kB / 0.9078 GB, free: 6.156 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.6601, allocations: 1.239 MB / 0.909 GB, free: 4.91 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.6602, allocations: 45.7 kB / 0.909 GB, free: 4.859 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/0.6607, allocations: 0.5753 MB / 0.9096 GB, free: 4.277 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.661, allocations: 280.2 kB / 0.9098 GB, free: 4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.6613, allocations: 186.4 kB / 0.91 GB, free: 3.812 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6614, allocations: 345.9 kB / 0.9103 GB, free: 3.469 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.6629, allocations: 0.5328 MB / 0.9109 GB, free: 2.934 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.6645, allocations: 0.8245 MB / 0.9117 GB, free: 2.004 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.6675, allocations: 1.324 MB / 0.913 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6676, allocations: 0 / 0.913 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003588/0.6712, allocations: 1.495 MB / 0.9144 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6712, allocations: 11.94 kB / 0.9144 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6712, allocations: 12.09 kB / 0.9144 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.6712, allocations: 12 kB / 0.9145 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.6726, allocations: 291.5 kB / 0.9147 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.6726, allocations: 19.92 kB / 0.9148 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.6739, allocations: 198.7 kB / 0.9149 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.692e-05/0.674, allocations: 47.98 kB / 0.915 GB, free: 14.49 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.0005107/0.6745, allocations: 332.5 kB / 0.9153 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.6747, allocations: 138.2 kB / 0.9154 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/0.6782, allocations: 1.422 MB / 0.9168 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6782, allocations: 11.94 kB / 0.9168 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6782, allocations: 0 / 0.9168 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6782, allocations: 7.969 kB / 0.9168 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005263/0.6835, allocations: 2.795 MB / 0.9196 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6835, allocations: 4 kB / 0.9196 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.6847, allocations: 224.1 kB / 0.9198 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.6847, allocations: 11.94 kB / 0.9198 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.789e-05/0.6848, allocations: 33.09 kB / 0.9198 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/0.6849, allocations: 8 kB / 0.9198 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6849, allocations: 11.88 kB / 0.9199 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.6898, allocations: 2.236 MB / 0.922 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/0.6903, allocations: 307.1 kB / 0.9223 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.6905, allocations: 20 kB / 0.9224 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.6916, allocations: 107.9 kB / 0.9225 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.6917, allocations: 64.38 kB / 0.9225 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/0.6918, allocations: 39.97 kB / 0.9226 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000927/0.6927, allocations: 0.8561 MB / 0.9234 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6927, allocations: 0 / 0.9234 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008967/0.6936, allocations: 311.6 kB / 0.9237 GB, free: 5.387 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.001142/0.6948, allocations: 0.5276 MB / 0.9242 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003272/0.6981, allocations: 1.302 MB / 0.9255 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6981, allocations: 0 / 0.9255 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.6997, allocations: 0.6365 MB / 0.9261 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.7019, allocations: 0.5995 MB / 0.9267 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.7064, allocations: 2.55 MB / 0.9292 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.707, allocations: 1.177 MB / 0.9303 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001004/0.708, allocations: 345.9 kB / 0.9307 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.7084, allocations: 111.4 kB / 0.9308 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/0.7084, allocations: 0 / 0.9308 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of Templates: time 0.03311/0.7415, allocations: 22.21 MB / 0.9524 GB, free: 8.359 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)