Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001241/0.001241, allocations: 189.2 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.407/1.407, 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.002614/0.002614, allocations: 293.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 91.84 kB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4458, allocations: 86.98 MB / 0.7671 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2203/0.6661, allocations: 194.3 MB / 0.9569 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4286/1.095, allocations: 5.139 MB / 0.9619 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/1.096, allocations: 50.47 kB / 0.9619 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/1.098, allocations: 0.8297 MB / 0.9628 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005975/1.104, allocations: 2.695 MB / 0.9654 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/1.106, allocations: 1.12 MB / 0.9665 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003145/1.11, allocations: 2.684 MB / 0.9691 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/1.111, allocations: 0.8092 MB / 0.9699 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/1.113, allocations: 1.142 MB / 0.971 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/1.114, allocations: 0.993 MB / 0.972 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/1.114, allocations: 87.62 kB / 0.9721 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/1.117, allocations: 1.803 MB / 0.9738 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/1.118, allocations: 459.9 kB / 0.9743 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007709/1.118, allocations: 0.6647 MB / 0.9749 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/1.121, allocations: 2.232 MB / 0.9771 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.121, allocations: 0.7188 kB / 0.9771 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/1.121, allocations: 1.641 kB / 0.9771 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.519e-05/1.121, allocations: 3.25 kB / 0.9771 GB, free: 1.484 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004829/1.126, allocations: 2.017 MB / 0.9791 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.126, allocations: 9.125 kB / 0.9791 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00568/1.132, allocations: 0.8961 MB / 0.98 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/1.134, allocations: 0.9789 MB / 0.9809 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/1.134, allocations: 71.66 kB / 0.981 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/1.134, allocations: 97.73 kB / 0.9811 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/1.137, allocations: 1.58 MB / 0.9826 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/1.137, allocations: 2.781 kB / 0.9826 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.138, allocations: 41.05 kB / 0.9827 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-05/1.138, allocations: 52.27 kB / 0.9827 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004946/1.143, allocations: 1.848 MB / 0.9845 GB, free: 15.87 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.007721/1.15, allocations: 4.731 MB / 0.9891 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/1.155, allocations: 1.511 MB / 0.9906 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/1.157, allocations: 0.8169 MB / 0.9914 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/1.158, allocations: 0.9406 MB / 0.9923 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002455/1.161, allocations: 0.9123 MB / 0.9932 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.667e-06/1.161, allocations: 0.875 kB / 0.9932 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007633/1.168, allocations: 2.465 MB / 0.9956 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/1.168, allocations: 63.66 kB / 0.9957 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.17, allocations: 1.198 MB / 0.9969 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.17, allocations: 45.27 kB / 0.9969 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/1.17, allocations: 0.5518 MB / 0.9974 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/1.17, allocations: 334.5 kB / 0.9978 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/1.171, allocations: 194.1 kB / 0.9979 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.171, allocations: 340.2 kB / 0.9983 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/1.173, allocations: 0.7044 MB / 0.999 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/1.175, allocations: 0.9127 MB / 0.9998 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/1.179, allocations: 1.548 MB / 1.001 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.179, allocations: 2.156 kB / 1.001 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004908/1.184, allocations: 1.791 MB / 1.003 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.184, allocations: 5.219 kB / 1.003 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/1.184, allocations: 5.562 kB / 1.003 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.184, allocations: 8.406 kB / 1.003 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.186, allocations: 348.2 kB / 1.003 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/1.186, allocations: 13.38 kB / 1.003 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/1.188, allocations: 241.5 kB / 1.004 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.188, allocations: 44.34 kB / 1.004 GB, free: 11.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0007257/1.189, allocations: 336.4 kB / 1.004 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/1.189, allocations: 147.2 kB / 1.004 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/1.194, allocations: 1.803 MB / 1.006 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.194, allocations: 11.06 kB / 1.006 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.194, allocations: 0 / 1.006 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/1.194, allocations: 4.734 kB / 1.006 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006965/1.201, allocations: 3.329 MB / 1.009 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.201, allocations: 8.781 kB / 1.009 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/1.203, allocations: 294.2 kB / 1.01 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/1.203, allocations: 5.969 kB / 1.01 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.793e-05/1.203, allocations: 36.19 kB / 1.01 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/1.203, allocations: 11.12 kB / 1.01 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.203, allocations: 5.406 kB / 1.01 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007334/1.21, allocations: 2.846 MB / 1.012 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/1.211, allocations: 333.6 kB / 1.013 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.211, allocations: 22.22 kB / 1.013 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.213, allocations: 158.1 kB / 1.013 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/1.213, allocations: 73.12 kB / 1.013 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.45e-05/1.213, allocations: 42.12 kB / 1.013 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001029/1.214, allocations: 0.8293 MB / 1.014 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.214, allocations: 0 / 1.014 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00107/1.215, allocations: 346.9 kB / 1.014 GB, free: 9.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001815/1.217, allocations: 0.5317 MB / 1.015 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004578/1.221, allocations: 1.594 MB / 1.016 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.221, allocations: 2.594 kB / 1.016 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/1.224, allocations: 0.8108 MB / 1.017 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/1.227, allocations: 0.6172 MB / 1.018 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/1.233, allocations: 3.013 MB / 1.021 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/1.233, allocations: 1.188 MB / 1.022 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001438/1.235, allocations: 362.9 kB / 1.022 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/1.235, allocations: 113.7 kB / 1.022 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/1.235, allocations: 4 kB / 1.022 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of Templates: time 0.04215/1.277, allocations: 24.05 MB / 1.046 GB, free: 1.555 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)