Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.006661/0.006662, allocations: 96.72 kB / 15.73 MB, free: 6.004 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.001645/0.001646, allocations: 194.5 kB / 16.67 MB, free: 5.934 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9811/0.9811, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.91 kB / 0.5857 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4081, allocations: 80.91 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2211/0.6293, allocations: 193.8 MB / 0.854 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.6399, allocations: 5.137 MB / 0.859 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.6419, allocations: 47.69 kB / 0.859 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.6444, allocations: 0.8081 MB / 0.8598 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007236/0.6517, allocations: 2.598 MB / 0.8623 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.6546, allocations: 1.11 MB / 0.8634 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003739/0.6584, allocations: 2.613 MB / 0.866 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.66, allocations: 0.8961 MB / 0.8669 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.6623, allocations: 1.082 MB / 0.8679 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4265/1.089, allocations: 0.9464 MB / 0.8688 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004111/1.089, allocations: 81.31 kB / 0.8689 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003838/1.093, allocations: 1.777 MB / 0.8706 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006089/1.094, allocations: 437.2 kB / 0.8711 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/1.095, allocations: 0.6368 MB / 0.8717 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004333/1.099, allocations: 2.183 MB / 0.8738 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.099, allocations: 0 / 0.8738 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/1.099, allocations: 0.9688 kB / 0.8738 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.013e-05/1.099, allocations: 0 / 0.8738 GB, free: 5.5 MB / 0.6856 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.005432/1.105, allocations: 1.978 MB / 0.8757 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.105, allocations: 13.61 kB / 0.8758 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004143/1.109, allocations: 0.6727 MB / 0.8764 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/1.111, allocations: 0.9519 MB / 0.8773 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/1.111, allocations: 68.91 kB / 0.8774 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/1.111, allocations: 89.67 kB / 0.8775 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/1.114, allocations: 1.473 MB / 0.8789 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.114, allocations: 4.406 kB / 0.8789 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/1.115, allocations: 39.53 kB / 0.879 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.79e-05/1.115, allocations: 49.94 kB / 0.879 GB, free: 3.797 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004403/1.119, allocations: 1.519 MB / 0.8805 GB, free: 3.785 MB / 0.6856 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.007305/1.126, allocations: 5.475 MB / 0.8859 GB, free: 16.82 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00379/1.13, allocations: 1.286 MB / 0.8871 GB, free: 16.79 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/1.132, allocations: 0.6566 MB / 0.8878 GB, free: 16.78 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008681/1.133, allocations: 0.5779 MB / 0.8883 GB, free: 16.22 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/1.135, allocations: 0.7164 MB / 0.889 GB, free: 16.17 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.286e-06/1.135, allocations: 0 / 0.889 GB, free: 16.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.005867/1.141, allocations: 1.877 MB / 0.8909 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.141, allocations: 61.19 kB / 0.8909 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.142, allocations: 1.243 MB / 0.8921 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.142, allocations: 42.14 kB / 0.8922 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/1.143, allocations: 0.5906 MB / 0.8927 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/1.143, allocations: 285.5 kB / 0.893 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/1.143, allocations: 187.1 kB / 0.8932 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.143, allocations: 340.2 kB / 0.8935 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/1.145, allocations: 0.5343 MB / 0.894 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/1.147, allocations: 0.8286 MB / 0.8948 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/1.15, allocations: 1.319 MB / 0.8961 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/1.15, allocations: 4.75 kB / 0.8961 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003886/1.154, allocations: 1.502 MB / 0.8976 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.154, allocations: 12.88 kB / 0.8976 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.154, allocations: 11.33 kB / 0.8976 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.154, allocations: 11.38 kB / 0.8976 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.156, allocations: 297.2 kB / 0.8979 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/1.156, allocations: 17.05 kB / 0.8979 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/1.157, allocations: 200.6 kB / 0.8981 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/1.157, allocations: 47.16 kB / 0.8982 GB, free: 14.35 MB / 0.7012 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.0005749/1.158, allocations: 346.2 kB / 0.8985 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/1.158, allocations: 144.3 kB / 0.8986 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/1.162, allocations: 1.404 MB / 0.9 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.162, allocations: 9.281 kB / 0.9 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.162, allocations: 0 / 0.9 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.162, allocations: 4.156 kB / 0.9 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/1.167, allocations: 2.81 MB / 0.9028 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.167, allocations: 8 kB / 0.9028 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.168, allocations: 218.9 kB / 0.903 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/1.169, allocations: 12.25 kB / 0.903 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/1.169, allocations: 25.7 kB / 0.903 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/1.169, allocations: 15.55 kB / 0.903 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.169, allocations: 9.344 kB / 0.9031 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/1.174, allocations: 2.248 MB / 0.9052 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/1.174, allocations: 311.2 kB / 0.9055 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/1.175, allocations: 25.47 kB / 0.9056 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.176, allocations: 108.6 kB / 0.9057 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.176, allocations: 68.52 kB / 0.9057 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/1.176, allocations: 33.69 kB / 0.9058 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009727/1.177, allocations: 0.8531 MB / 0.9066 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.61e-07/1.177, allocations: 0 / 0.9066 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001136/1.178, allocations: 319.4 kB / 0.9069 GB, free: 12.85 MB / 0.7012 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.001256/1.179, allocations: 0.5349 MB / 0.9074 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003497/1.183, allocations: 1.288 MB / 0.9087 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.183, allocations: 0 / 0.9087 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.185, allocations: 0.6415 MB / 0.9093 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.187, allocations: 0.5942 MB / 0.9099 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/1.192, allocations: 2.595 MB / 0.9124 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/1.192, allocations: 1.168 MB / 0.9136 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001241/1.194, allocations: 342.6 kB / 0.9139 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/1.194, allocations: 112.7 kB / 0.914 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of SimCode: time 1.463e-06/1.194, allocations: 4 kB / 0.914 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of Templates: time 0.03547/1.23, allocations: 22.38 MB / 0.9359 GB, free: 3.949 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)