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.001178/0.001178, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001151/0.001151, allocations: 187 kB / 17.34 MB, free: 5.742 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.228/1.228, 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.002229/0.002229, allocations: 289.3 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 0.9004/0.9004, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 99.77 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4198, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1821/0.602, allocations: 193.8 MB / 0.9563 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3949/0.9969, allocations: 5.132 MB / 0.9614 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.9981, allocations: 46.09 kB / 0.9614 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/1, allocations: 0.8067 MB / 0.9622 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006056/1.006, allocations: 2.604 MB / 0.9647 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/1.009, allocations: 1.111 MB / 0.9658 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003046/1.012, allocations: 2.609 MB / 0.9684 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/1.013, allocations: 0.897 MB / 0.9692 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/1.015, allocations: 1.102 MB / 0.9703 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009712/1.016, allocations: 0.9494 MB / 0.9712 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/1.016, allocations: 77.75 kB / 0.9713 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/1.019, allocations: 1.788 MB / 0.9731 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003631/1.019, allocations: 433.9 kB / 0.9735 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006564/1.02, allocations: 0.6414 MB / 0.9741 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002636/1.022, allocations: 2.172 MB / 0.9762 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.022, allocations: 3.875 kB / 0.9762 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/1.022, allocations: 0.9062 kB / 0.9762 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.867e-05/1.022, allocations: 3.844 kB / 0.9762 GB, free: 1.469 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.00429/1.027, allocations: 1.934 MB / 0.9781 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/1.027, allocations: 10.88 kB / 0.9781 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/1.03, allocations: 0.6549 MB / 0.9788 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/1.032, allocations: 0.9443 MB / 0.9797 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/1.032, allocations: 69.2 kB / 0.9798 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.032, allocations: 85.84 kB / 0.9798 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/1.035, allocations: 1.478 MB / 0.9813 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.035, allocations: 6.719 kB / 0.9813 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.984e-05/1.035, allocations: 32.22 kB / 0.9813 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/1.035, allocations: 49.03 kB / 0.9814 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/1.038, allocations: 1.52 MB / 0.9829 GB, free: 15.82 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.006779/1.045, allocations: 5.475 MB / 0.9882 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.049, allocations: 1.285 MB / 0.9895 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/1.05, allocations: 0.6621 MB / 0.9901 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008718/1.051, allocations: 0.5794 MB / 0.9907 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/1.053, allocations: 0.7059 MB / 0.9914 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/1.053, allocations: 3.594 kB / 0.9914 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.005244/1.058, allocations: 1.876 MB / 0.9932 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/1.058, allocations: 66.08 kB / 0.9933 GB, free: 12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/1.059, allocations: 1.232 MB / 0.9945 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.06, allocations: 48.27 kB / 0.9945 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/1.06, allocations: 0.5805 MB / 0.9951 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/1.06, allocations: 282.7 kB / 0.9953 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/1.06, allocations: 181.2 kB / 0.9955 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.061, allocations: 342.9 kB / 0.9958 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/1.062, allocations: 0.5359 MB / 0.9964 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/1.064, allocations: 0.8177 MB / 0.9972 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/1.067, allocations: 1.33 MB / 0.9985 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.067, allocations: 2.344 kB / 0.9985 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003617/1.07, allocations: 1.491 MB / 0.9999 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.07, allocations: 10.75 kB / 0.9999 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.07, allocations: 16.58 kB / 0.9999 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.07, allocations: 10.19 kB / 1 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.072, allocations: 288.3 kB / 1 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.072, allocations: 19.19 kB / 1 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.073, allocations: 208.5 kB / 1 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.834e-05/1.073, allocations: 50.8 kB / 1 GB, free: 10.33 MB / 0.7325 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.0005224/1.074, allocations: 338.1 kB / 1.001 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/1.074, allocations: 129.9 kB / 1.001 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/1.077, allocations: 1.416 MB / 1.002 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.077, allocations: 8.594 kB / 1.002 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.077, allocations: 0 / 1.002 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/1.077, allocations: 2.906 kB / 1.002 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005311/1.083, allocations: 2.8 MB / 1.005 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/1.083, allocations: 6.031 kB / 1.005 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.084, allocations: 221.7 kB / 1.005 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/1.084, allocations: 12.25 kB / 1.005 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/1.084, allocations: 29.61 kB / 1.005 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/1.084, allocations: 11.47 kB / 1.005 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.084, allocations: 2.562 kB / 1.005 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/1.089, allocations: 2.248 MB / 1.008 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/1.09, allocations: 294.8 kB / 1.008 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/1.09, allocations: 27.89 kB / 1.008 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.091, allocations: 108.7 kB / 1.008 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.091, allocations: 62.64 kB / 1.008 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/1.091, allocations: 38.2 kB / 1.008 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009568/1.092, allocations: 0.8522 MB / 1.009 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.092, allocations: 0 / 1.009 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009443/1.093, allocations: 323.8 kB / 1.009 GB, free: 8.809 MB / 0.7325 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.001148/1.094, allocations: 0.534 MB / 1.01 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003324/1.098, allocations: 1.29 MB / 1.011 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.098, allocations: 3.219 kB / 1.011 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.099, allocations: 0.6407 MB / 1.012 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/1.102, allocations: 0.5979 MB / 1.012 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/1.106, allocations: 2.616 MB / 1.015 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/1.107, allocations: 1.174 MB / 1.016 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/1.108, allocations: 126.4 kB / 1.016 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of SimCode: time 7.71e-07/1.108, allocations: 0 / 1.016 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.02641/1.134, allocations: 20.68 MB / 1.036 GB, free: 8.742 MB / 0.7481 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)