Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001292/0.001292, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 284.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8913/0.8913, allocations: 169.2 MB / 0.499 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 96.28 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4254, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1796/0.6051, allocations: 193.8 MB / 0.9563 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3838/0.9889, allocations: 5.131 MB / 0.9614 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.9904, allocations: 50.47 kB / 0.9614 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.9924, allocations: 0.8107 MB / 0.9622 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006201/0.9986, allocations: 2.596 MB / 0.9647 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/1.002, allocations: 1.116 MB / 0.9658 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003553/1.005, allocations: 2.598 MB / 0.9684 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/1.006, allocations: 0.8952 MB / 0.9692 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/1.009, allocations: 1.108 MB / 0.9703 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/1.01, allocations: 0.9613 MB / 0.9713 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/1.01, allocations: 79.94 kB / 0.9713 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/1.013, allocations: 1.782 MB / 0.9731 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/1.014, allocations: 440.8 kB / 0.9735 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007608/1.014, allocations: 0.6509 MB / 0.9741 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/1.018, allocations: 2.185 MB / 0.9763 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/1.018, allocations: 0 / 0.9763 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/1.018, allocations: 0.9062 kB / 0.9763 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.548e-05/1.018, allocations: 0 / 0.9763 GB, free: 1.441 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.004517/1.022, allocations: 1.939 MB / 0.9782 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/1.022, allocations: 10.69 kB / 0.9782 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/1.026, allocations: 0.6961 MB / 0.9788 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/1.028, allocations: 0.9542 MB / 0.9798 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/1.028, allocations: 71.73 kB / 0.9798 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.028, allocations: 87.22 kB / 0.9799 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/1.031, allocations: 1.47 MB / 0.9814 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.031, allocations: 6.031 kB / 0.9814 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/1.031, allocations: 36.31 kB / 0.9814 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/1.031, allocations: 53.61 kB / 0.9815 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/1.034, allocations: 1.555 MB / 0.983 GB, free: 15.84 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.005788/1.04, allocations: 5.019 MB / 0.9879 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/1.043, allocations: 1.176 MB / 0.989 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/1.044, allocations: 0.6681 MB / 0.9897 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.046, allocations: 0.9425 MB / 0.9906 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/1.047, allocations: 0.7277 MB / 0.9913 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/1.047, allocations: 0 / 0.9913 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.005219/1.052, allocations: 1.956 MB / 0.9932 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.053, allocations: 59.64 kB / 0.9933 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/1.054, allocations: 1.271 MB / 0.9945 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/1.054, allocations: 42.11 kB / 0.9946 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/1.054, allocations: 0.5676 MB / 0.9951 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/1.055, allocations: 289.7 kB / 0.9954 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/1.055, allocations: 180.9 kB / 0.9956 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.055, allocations: 347.1 kB / 0.9959 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/1.056, allocations: 0.5475 MB / 0.9964 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/1.058, allocations: 0.8163 MB / 0.9972 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/1.061, allocations: 1.341 MB / 0.9985 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.061, allocations: 2.5 kB / 0.9985 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003529/1.064, allocations: 1.519 MB / 1 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.064, allocations: 8.219 kB / 1 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.064, allocations: 6.406 kB / 1 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/1.065, allocations: 13.97 kB / 1 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.066, allocations: 294.7 kB / 1 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/1.066, allocations: 18.44 kB / 1 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.067, allocations: 204.3 kB / 1.001 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/1.067, allocations: 50.22 kB / 1.001 GB, free: 10.51 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005283/1.068, allocations: 341.9 kB / 1.001 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/1.068, allocations: 136.1 kB / 1.001 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/1.072, allocations: 1.449 MB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.072, allocations: 8.094 kB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.072, allocations: 0 / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.072, allocations: 2.766 kB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/1.077, allocations: 2.858 MB / 1.005 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.077, allocations: 9.188 kB / 1.005 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.078, allocations: 223.8 kB / 1.005 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.078, allocations: 9.016 kB / 1.005 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/1.078, allocations: 29.2 kB / 1.006 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/1.078, allocations: 9.859 kB / 1.006 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.078, allocations: 5.375 kB / 1.006 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/1.083, allocations: 2.309 MB / 1.008 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007553/1.084, allocations: 301.3 kB / 1.008 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.084, allocations: 27.83 kB / 1.008 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.085, allocations: 111.1 kB / 1.008 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/1.085, allocations: 68.81 kB / 1.008 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/1.085, allocations: 39.84 kB / 1.008 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001129/1.087, allocations: 0.8705 MB / 1.009 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.087, allocations: 1.75 kB / 1.009 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001078/1.088, allocations: 317.3 kB / 1.009 GB, free: 8.977 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001265/1.089, allocations: 0.5374 MB / 1.01 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003372/1.092, allocations: 1.319 MB / 1.011 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.092, allocations: 0 / 1.011 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.094, allocations: 0.6529 MB / 1.012 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/1.097, allocations: 0.6261 MB / 1.013 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/1.101, allocations: 2.629 MB / 1.015 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/1.102, allocations: 1.168 MB / 1.016 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/1.102, allocations: 127.7 kB / 1.016 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/1.102, allocations: 7.344 kB / 1.016 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of Templates: time 0.03315/1.135, allocations: 21.03 MB / 1.037 GB, free: 8.289 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)