Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001395/0.001395, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001109/0.001109, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7522/0.7522, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 73.61 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1634, allocations: 80.21 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6481/0.8116, allocations: 193.8 MB / 0.8496 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.8247, allocations: 5.137 MB / 0.8547 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.8267, allocations: 48.06 kB / 0.8547 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.8302, allocations: 0.8092 MB / 0.8555 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.8423, allocations: 2.604 MB / 0.858 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005298/0.8477, allocations: 1.108 MB / 0.8591 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006163/0.8539, allocations: 2.61 MB / 0.8617 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.8565, allocations: 0.8879 MB / 0.8625 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.8606, allocations: 1.114 MB / 0.8636 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.8632, allocations: 0.9494 MB / 0.8646 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.8637, allocations: 80 kB / 0.8646 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006861/0.8706, allocations: 1.789 MB / 0.8664 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.8719, allocations: 430.6 kB / 0.8668 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/0.8739, allocations: 0.641 MB / 0.8674 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007117/0.881, allocations: 2.173 MB / 0.8695 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.8811, allocations: 0 / 0.8695 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8811, allocations: 0 / 0.8695 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.195e-05/0.8812, allocations: 4 kB / 0.8695 GB, free: 15.65 MB / 0.6387 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.007541/0.8888, allocations: 1.918 MB / 0.8714 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8888, allocations: 12.03 kB / 0.8714 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/0.893, allocations: 0.6653 MB / 0.8721 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.8949, allocations: 0.9565 MB / 0.873 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.895, allocations: 66 kB / 0.8731 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002642/0.8953, allocations: 80 kB / 0.8731 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/0.899, allocations: 1.47 MB / 0.8746 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.8991, allocations: 3.938 kB / 0.8746 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.8992, allocations: 43.97 kB / 0.8746 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.308e-05/0.8993, allocations: 49.98 kB / 0.8747 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/0.9037, allocations: 1.522 MB / 0.8762 GB, free: 8.672 MB / 0.6387 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.008389/0.9121, allocations: 5.467 MB / 0.8815 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.9161, allocations: 1.277 MB / 0.8828 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.918, allocations: 0.6562 MB / 0.8834 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009588/0.919, allocations: 0.5889 MB / 0.884 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002005/0.921, allocations: 0.7116 MB / 0.8847 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 3.596e-06/0.921, allocations: 0 / 0.8847 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005915/0.9269, allocations: 1.874 MB / 0.8865 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.927, allocations: 64.06 kB / 0.8866 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.9291, allocations: 1.239 MB / 0.8878 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.9292, allocations: 45.69 kB / 0.8878 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005481/0.9298, allocations: 0.5792 MB / 0.8884 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.9301, allocations: 276.1 kB / 0.8886 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.9305, allocations: 186.5 kB / 0.8888 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9307, allocations: 345.9 kB / 0.8891 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.9324, allocations: 0.5327 MB / 0.8897 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.9343, allocations: 0.829 MB / 0.8905 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003456/0.9378, allocations: 1.324 MB / 0.8918 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.9378, allocations: 4 kB / 0.8918 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004284/0.9421, allocations: 1.49 MB / 0.8932 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.9422, allocations: 8 kB / 0.8932 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.9422, allocations: 11.66 kB / 0.8932 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/0.9422, allocations: 12 kB / 0.8933 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.9437, allocations: 295.6 kB / 0.8935 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.173e-05/0.9437, allocations: 15.94 kB / 0.8936 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.9453, allocations: 190.8 kB / 0.8937 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.9454, allocations: 51.97 kB / 0.8938 GB, free: 5.934 MB / 0.6544 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.000696/0.9461, allocations: 339.6 kB / 0.8941 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.9465, allocations: 142.2 kB / 0.8942 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.9505, allocations: 1.409 MB / 0.8956 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.9506, allocations: 8 kB / 0.8956 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.9506, allocations: 0 / 0.8956 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9506, allocations: 4.078 kB / 0.8956 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006283/0.9569, allocations: 2.811 MB / 0.8984 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.9569, allocations: 4 kB / 0.8984 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9582, allocations: 219.7 kB / 0.8986 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/0.9582, allocations: 8 kB / 0.8986 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/0.9583, allocations: 33.84 kB / 0.8986 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.9583, allocations: 4 kB / 0.8986 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.9583, allocations: 11.94 kB / 0.8986 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/0.964, allocations: 2.244 MB / 0.9008 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006362/0.9647, allocations: 295.3 kB / 0.9011 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.965, allocations: 20 kB / 0.9011 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.9664, allocations: 115.9 kB / 0.9012 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.9665, allocations: 60.38 kB / 0.9013 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.9666, allocations: 39.97 kB / 0.9013 GB, free: 13.99 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001287/0.9679, allocations: 0.8522 MB / 0.9022 GB, free: 13.13 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9679, allocations: 0 / 0.9022 GB, free: 13.13 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0012/0.9691, allocations: 323.6 kB / 0.9025 GB, free: 12.82 MB / 0.67 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.001344/0.9705, allocations: 0.5356 MB / 0.903 GB, free: 12.48 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.9743, allocations: 1.29 MB / 0.9043 GB, free: 11.19 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9743, allocations: 4.062 kB / 0.9043 GB, free: 11.18 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.9761, allocations: 0.6363 MB / 0.9049 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.9791, allocations: 0.5956 MB / 0.9055 GB, free: 9.977 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/0.9846, allocations: 2.63 MB / 0.908 GB, free: 7.258 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.9855, allocations: 1.163 MB / 0.9092 GB, free: 6.066 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/0.9861, allocations: 131.4 kB / 0.9093 GB, free: 5.938 MB / 0.67 GB Notification: Performance of SimCode: time 1.493e-06/0.9861, allocations: 4 kB / 0.9093 GB, free: 5.934 MB / 0.67 GB Notification: Performance of Templates: time 0.03402/1.02, allocations: 20.49 MB / 0.9293 GB, free: 1.582 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)