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.008272/0.008272, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001955/0.001955, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8054/0.8054, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.31 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1856, allocations: 80.93 MB / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.61/0.7956, allocations: 193.8 MB / 0.854 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009856/0.8055, allocations: 5.144 MB / 0.859 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.8073, allocations: 51.41 kB / 0.859 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.8096, allocations: 0.8147 MB / 0.8598 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007241/0.8169, allocations: 2.692 MB / 0.8625 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.8203, allocations: 1.11 MB / 0.8635 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003954/0.8243, allocations: 2.623 MB / 0.8661 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.8262, allocations: 0.8961 MB / 0.867 GB, free: 156 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.8294, allocations: 1.113 MB / 0.8681 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.8313, allocations: 0.9534 MB / 0.869 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.8316, allocations: 79.94 kB / 0.8691 GB, free: 14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.8359, allocations: 1.796 MB / 0.8708 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.837, allocations: 430.7 kB / 0.8712 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/0.8387, allocations: 0.6409 MB / 0.8719 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004833/0.8436, allocations: 2.173 MB / 0.874 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8436, allocations: 0 / 0.874 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8436, allocations: 0 / 0.874 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.199e-05/0.8437, allocations: 4 kB / 0.874 GB, free: 8.949 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.005156/0.8488, allocations: 1.93 MB / 0.8759 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8489, allocations: 13.11 kB / 0.8759 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.8526, allocations: 0.6576 MB / 0.8765 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.8543, allocations: 0.9526 MB / 0.8775 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.8543, allocations: 66 kB / 0.8775 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.8545, allocations: 87.98 kB / 0.8776 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.8574, allocations: 1.474 MB / 0.879 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.8574, allocations: 0 / 0.879 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.8575, allocations: 32 kB / 0.8791 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.8576, allocations: 53.92 kB / 0.8791 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003784/0.8614, allocations: 1.522 MB / 0.8806 GB, free: 1.973 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.006925/0.8683, allocations: 5.466 MB / 0.8859 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/0.8719, allocations: 1.288 MB / 0.8872 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.8737, allocations: 0.6585 MB / 0.8878 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008846/0.8746, allocations: 0.5812 MB / 0.8884 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/0.8763, allocations: 0.7108 MB / 0.8891 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=80): time 2.645e-06/0.8763, allocations: 0 / 0.8891 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=80): time 0.005213/0.8815, allocations: 1.878 MB / 0.8909 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.8815, allocations: 60.06 kB / 0.891 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.883, allocations: 1.242 MB / 0.8922 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.862e-05/0.8831, allocations: 41.7 kB / 0.8923 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.8836, allocations: 0.5791 MB / 0.8928 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.8838, allocations: 276.1 kB / 0.8931 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.8841, allocations: 190.5 kB / 0.8933 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8843, allocations: 341.9 kB / 0.8936 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.8858, allocations: 0.5289 MB / 0.8941 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.8875, allocations: 0.8295 MB / 0.8949 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.8906, allocations: 1.321 MB / 0.8962 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.8907, allocations: 4 kB / 0.8962 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003727/0.8944, allocations: 1.503 MB / 0.8977 GB, free: 15.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.8944, allocations: 8 kB / 0.8977 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.8944, allocations: 8 kB / 0.8977 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.8945, allocations: 12 kB / 0.8977 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.8959, allocations: 291.5 kB / 0.898 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.8959, allocations: 21.48 kB / 0.898 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.8971, allocations: 198.8 kB / 0.8982 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.8972, allocations: 48.86 kB / 0.8982 GB, free: 15.23 MB / 0.67 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.0004997/0.8977, allocations: 331.7 kB / 0.8986 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.898, allocations: 142.2 kB / 0.8987 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.9017, allocations: 1.415 MB / 0.9001 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.9017, allocations: 8 kB / 0.9001 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9017, allocations: 4 kB / 0.9001 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.9017, allocations: 3.984 kB / 0.9001 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005845/0.9076, allocations: 2.806 MB / 0.9028 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.9076, allocations: 4 kB / 0.9028 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.9088, allocations: 228.1 kB / 0.903 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.9088, allocations: 4 kB / 0.9031 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.9089, allocations: 31.97 kB / 0.9031 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/0.9089, allocations: 8 kB / 0.9031 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9089, allocations: 7.938 kB / 0.9031 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.914, allocations: 2.248 MB / 0.9053 GB, free: 7.816 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.9145, allocations: 295.4 kB / 0.9056 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.9147, allocations: 23.94 kB / 0.9056 GB, free: 7.484 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.9158, allocations: 111.9 kB / 0.9057 GB, free: 7.375 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.9159, allocations: 68.38 kB / 0.9058 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.916, allocations: 31.97 kB / 0.9058 GB, free: 7.277 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001174/0.9172, allocations: 0.8522 MB / 0.9066 GB, free: 6.422 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9172, allocations: 0 / 0.9066 GB, free: 6.422 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001224/0.9184, allocations: 315.7 kB / 0.9069 GB, free: 6.113 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.001402/0.9198, allocations: 0.5317 MB / 0.9075 GB, free: 5.746 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003644/0.9235, allocations: 1.29 MB / 0.9087 GB, free: 4.457 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.9235, allocations: 0 / 0.9087 GB, free: 4.457 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.9253, allocations: 0.6443 MB / 0.9093 GB, free: 3.816 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.928, allocations: 0.5925 MB / 0.9099 GB, free: 3.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/0.9337, allocations: 2.55 MB / 0.9124 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.9347, allocations: 1.178 MB / 0.9136 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001224/0.936, allocations: 341.9 kB / 0.9139 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.9364, allocations: 115.4 kB / 0.914 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of SimCode: time 2.415e-06/0.9364, allocations: 0 / 0.914 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of Templates: time 0.04101/0.9774, allocations: 22.37 MB / 0.9358 GB, free: 8.805 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)