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.001341/0.001341, allocations: 107.5 kB / 16.41 MB, free: 6.008 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.001383/0.001383, allocations: 181.7 kB / 17.34 MB, free: 5.629 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 282.7 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.9165/0.9165, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 100.3 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.425, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1953/0.6203, allocations: 193.8 MB / 0.9563 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.456/1.076, allocations: 5.143 MB / 0.9614 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/1.078, allocations: 46.19 kB / 0.9614 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/1.08, allocations: 0.8112 MB / 0.9622 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007277/1.087, allocations: 2.604 MB / 0.9647 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/1.091, allocations: 1.111 MB / 0.9658 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004289/1.095, allocations: 2.68 MB / 0.9684 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/1.096, allocations: 0.9424 MB / 0.9694 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/1.099, allocations: 1.13 MB / 0.9705 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/1.1, allocations: 0.994 MB / 0.9714 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/1.1, allocations: 87.25 kB / 0.9715 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/1.104, allocations: 1.79 MB / 0.9733 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004343/1.104, allocations: 450.7 kB / 0.9737 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007683/1.105, allocations: 0.6646 MB / 0.9743 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/1.108, allocations: 2.225 MB / 0.9765 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.108, allocations: 0 / 0.9765 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.514e-06/1.108, allocations: 2.656 kB / 0.9765 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.423e-05/1.108, allocations: 2.266 kB / 0.9765 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004707/1.113, allocations: 1.961 MB / 0.9784 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/1.113, allocations: 11.92 kB / 0.9784 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/1.119, allocations: 0.892 MB / 0.9793 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/1.12, allocations: 0.9772 MB / 0.9803 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/1.12, allocations: 65.95 kB / 0.9803 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/1.12, allocations: 98.73 kB / 0.9804 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/1.124, allocations: 1.584 MB / 0.982 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/1.124, allocations: 3.062 kB / 0.982 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.124, allocations: 34.02 kB / 0.982 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/1.124, allocations: 49.48 kB / 0.9821 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/1.129, allocations: 1.848 MB / 0.9839 GB, free: 15.92 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.006758/1.136, allocations: 4.725 MB / 0.9885 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/1.14, allocations: 1.565 MB / 0.99 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/1.142, allocations: 0.8545 MB / 0.9908 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.143, allocations: 0.9419 MB / 0.9918 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002305/1.145, allocations: 0.9098 MB / 0.9927 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.487e-06/1.145, allocations: 0 / 0.9927 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007285/1.153, allocations: 2.46 MB / 0.9951 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/1.153, allocations: 63.59 kB / 0.9951 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.154, allocations: 1.2 MB / 0.9963 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.154, allocations: 49.08 kB / 0.9963 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/1.155, allocations: 0.5387 MB / 0.9969 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/1.155, allocations: 325.5 kB / 0.9972 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/1.155, allocations: 187.2 kB / 0.9973 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.155, allocations: 344.5 kB / 0.9977 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/1.157, allocations: 0.7045 MB / 0.9984 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/1.16, allocations: 0.9059 MB / 0.9992 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/1.164, allocations: 1.559 MB / 1.001 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.164, allocations: 0 / 1.001 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004791/1.168, allocations: 1.779 MB / 1.003 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.168, allocations: 9.406 kB / 1.003 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.168, allocations: 3.953 kB / 1.003 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.169, allocations: 10.5 kB / 1.003 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.17, allocations: 342.8 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/1.17, allocations: 9.562 kB / 1.003 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.172, allocations: 238.5 kB / 1.003 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.172, allocations: 45.56 kB / 1.003 GB, free: 11.29 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.0006408/1.173, allocations: 345.2 kB / 1.003 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/1.173, allocations: 133.7 kB / 1.004 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/1.178, allocations: 1.803 MB / 1.005 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/1.178, allocations: 13.31 kB / 1.005 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.178, allocations: 1.641 kB / 1.005 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.178, allocations: 7.172 kB / 1.005 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/1.185, allocations: 3.315 MB / 1.009 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.185, allocations: 8.469 kB / 1.009 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.187, allocations: 299.9 kB / 1.009 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/1.187, allocations: 11.34 kB / 1.009 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.766e-05/1.187, allocations: 33.98 kB / 1.009 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.926e-06/1.187, allocations: 8.75 kB / 1.009 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.187, allocations: 7.719 kB / 1.009 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007609/1.194, allocations: 2.837 MB / 1.012 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/1.195, allocations: 330.2 kB / 1.012 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/1.195, allocations: 20.56 kB / 1.012 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.197, allocations: 155.5 kB / 1.012 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.197, allocations: 74.97 kB / 1.012 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/1.197, allocations: 43.06 kB / 1.012 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001128/1.198, allocations: 0.8337 MB / 1.013 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.198, allocations: 0 / 1.013 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001083/1.199, allocations: 341.8 kB / 1.013 GB, free: 9.672 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.001276/1.201, allocations: 0.5304 MB / 1.014 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004591/1.205, allocations: 1.641 MB / 1.016 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.205, allocations: 0 / 1.016 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002244/1.208, allocations: 0.8396 MB / 1.016 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/1.21, allocations: 0.6043 MB / 1.017 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/1.216, allocations: 3.035 MB / 1.02 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/1.217, allocations: 1.188 MB / 1.021 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/1.218, allocations: 133.4 kB / 1.021 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of SimCode: time 1.263e-06/1.218, allocations: 0 / 1.021 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of Templates: time 0.03353/1.251, allocations: 21.72 MB / 1.042 GB, free: 3.809 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)