Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001073/0.001073, allocations: 105.2 kB / 16.27 MB, free: 6.41 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.001047/0.001047, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.761/0.761, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 75.89 kB / 0.495 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3591, allocations: 78.71 MB / 0.5718 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5946/0.9537, allocations: 193.8 MB / 0.7611 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.9659, allocations: 5.147 MB / 0.7661 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.9682, allocations: 49.16 kB / 0.7661 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.9711, allocations: 0.8112 MB / 0.7669 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008821/0.98, allocations: 2.603 MB / 0.7695 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.9836, allocations: 1.113 MB / 0.7706 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004789/0.9884, allocations: 2.604 MB / 0.7731 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.9906, allocations: 0.8973 MB / 0.774 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.9938, allocations: 1.074 MB / 0.775 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.9962, allocations: 0.9437 MB / 0.7759 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005482/0.9968, allocations: 78.75 kB / 0.776 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005441/1.002, allocations: 1.784 MB / 0.7778 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009238/1.003, allocations: 429.6 kB / 0.7782 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/1.005, allocations: 0.6442 MB / 0.7788 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005006/1.01, allocations: 2.131 MB / 0.7809 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.01, allocations: 3.406 kB / 0.7809 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/1.01, allocations: 0 / 0.7809 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.542e-05/1.01, allocations: 0.8125 kB / 0.7809 GB, free: 1.234 MB / 0.5762 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.005642/1.016, allocations: 1.917 MB / 0.7828 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.016, allocations: 10.97 kB / 0.7828 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/1.02, allocations: 0.6614 MB / 0.7834 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/1.021, allocations: 0.875 MB / 0.7843 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/1.021, allocations: 70.88 kB / 0.7843 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.022, allocations: 89.19 kB / 0.7844 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/1.024, allocations: 1.481 MB / 0.7859 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/1.024, allocations: 4.344 kB / 0.7859 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.025, allocations: 36.28 kB / 0.7859 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/1.025, allocations: 52.61 kB / 0.786 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/1.029, allocations: 1.515 MB / 0.7874 GB, free: 15.56 MB / 0.5919 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.007889/1.037, allocations: 5.508 MB / 0.7928 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/1.04, allocations: 1.282 MB / 0.7941 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.042, allocations: 0.6577 MB / 0.7947 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000931/1.043, allocations: 0.5776 MB / 0.7953 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/1.045, allocations: 0.7108 MB / 0.796 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.827e-06/1.045, allocations: 1 kB / 0.796 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005686/1.051, allocations: 1.876 MB / 0.7978 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.051, allocations: 60.36 kB / 0.7979 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.053, allocations: 1.243 MB / 0.7991 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/1.053, allocations: 45.33 kB / 0.7991 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/1.053, allocations: 0.5785 MB / 0.7997 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/1.053, allocations: 274.9 kB / 0.7999 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/1.054, allocations: 186.6 kB / 0.8001 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.054, allocations: 343.1 kB / 0.8004 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/1.055, allocations: 0.5366 MB / 0.801 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/1.057, allocations: 0.8235 MB / 0.8018 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/1.06, allocations: 1.325 MB / 0.8031 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.061, allocations: 3.406 kB / 0.8031 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003985/1.064, allocations: 1.492 MB / 0.8045 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.065, allocations: 10.72 kB / 0.8045 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/1.065, allocations: 4.875 kB / 0.8045 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.065, allocations: 13.44 kB / 0.8046 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/1.066, allocations: 292.5 kB / 0.8048 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/1.066, allocations: 18.59 kB / 0.8049 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.068, allocations: 203.2 kB / 0.805 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.068, allocations: 48.94 kB / 0.8051 GB, free: 9.977 MB / 0.5919 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.0006694/1.068, allocations: 339.2 kB / 0.8054 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/1.069, allocations: 132.3 kB / 0.8055 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/1.072, allocations: 1.406 MB / 0.8069 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.072, allocations: 10.88 kB / 0.8069 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.072, allocations: 4 kB / 0.8069 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/1.072, allocations: 9.047 kB / 0.8069 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/1.079, allocations: 2.799 MB / 0.8097 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.079, allocations: 11.95 kB / 0.8097 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.08, allocations: 225.5 kB / 0.8099 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/1.08, allocations: 6.812 kB / 0.8099 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.08, allocations: 29.53 kB / 0.8099 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.567e-05/1.08, allocations: 9.625 kB / 0.8099 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.08, allocations: 8.969 kB / 0.81 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00596/1.086, allocations: 2.256 MB / 0.8122 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/1.087, allocations: 292.7 kB / 0.8124 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003779/1.087, allocations: 21.03 kB / 0.8125 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.088, allocations: 114.1 kB / 0.8126 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.089, allocations: 59.31 kB / 0.8126 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/1.089, allocations: 36.34 kB / 0.8127 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001275/1.09, allocations: 0.856 MB / 0.8135 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.09, allocations: 4 kB / 0.8135 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001257/1.091, allocations: 313.4 kB / 0.8138 GB, free: 7.527 MB / 0.5919 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.001314/1.093, allocations: 0.5276 MB / 0.8143 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004128/1.097, allocations: 1.41 MB / 0.8157 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.097, allocations: 0 / 0.8157 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.099, allocations: 0.6446 MB / 0.8163 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/1.102, allocations: 0.5855 MB / 0.8169 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/1.107, allocations: 2.597 MB / 0.8194 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/1.108, allocations: 1.178 MB / 0.8206 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001583/1.109, allocations: 337.9 kB / 0.8209 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/1.11, allocations: 110.9 kB / 0.821 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/1.11, allocations: 0 / 0.821 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of Templates: time 0.04091/1.15, allocations: 22.23 MB / 0.8427 GB, free: 13.74 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)