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.00101/0.00101, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00107/0.00107, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 15.94 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1889, allocations: 82.3 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5019/0.6908, allocations: 176.3 MB / 0.7596 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008267/0.6991, allocations: 4.886 MB / 0.7643 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.7004, allocations: 39.69 kB / 0.7644 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.7022, allocations: 0.6179 MB / 0.765 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005184/0.7074, allocations: 1.89 MB / 0.7668 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.71, allocations: 0.9118 MB / 0.7677 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003718/0.7138, allocations: 3.007 MB / 0.7706 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.7151, allocations: 0.7389 MB / 0.7714 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.7173, allocations: 0.9805 MB / 0.7723 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.7186, allocations: 0.9107 MB / 0.7732 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.7187, allocations: 48 kB / 0.7733 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.7211, allocations: 0.9353 MB / 0.7742 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.7215, allocations: 394.7 kB / 0.7745 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.7219, allocations: 261 kB / 0.7748 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.7236, allocations: 1.348 MB / 0.7761 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7236, allocations: 0 / 0.7761 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7236, allocations: 0 / 0.7761 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.7236, allocations: 0 / 0.7761 GB, free: 11.73 MB / 0.5919 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.004444/0.7281, allocations: 1.691 MB / 0.7778 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7281, allocations: 8.562 kB / 0.7778 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.7317, allocations: 0.7118 MB / 0.7785 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.733, allocations: 0.8367 MB / 0.7793 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.7331, allocations: 73.92 kB / 0.7793 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.7333, allocations: 91.92 kB / 0.7794 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.7361, allocations: 1.482 MB / 0.7809 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.7361, allocations: 0 / 0.7809 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.7362, allocations: 36 kB / 0.7809 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.7363, allocations: 45.98 kB / 0.781 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/0.74, allocations: 1.545 MB / 0.7825 GB, free: 5.027 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.007031/0.747, allocations: 5.484 MB / 0.7878 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.7504, allocations: 1.323 MB / 0.7891 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.752, allocations: 0.661 MB / 0.7898 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008679/0.7529, allocations: 0.6007 MB / 0.7904 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001749/0.7547, allocations: 0.7224 MB / 0.7911 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.885e-06/0.7547, allocations: 0 / 0.7911 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.00541/0.7601, allocations: 1.901 MB / 0.7929 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.7602, allocations: 64.06 kB / 0.793 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.7619, allocations: 1.227 MB / 0.7942 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.762, allocations: 49.7 kB / 0.7942 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.7625, allocations: 0.583 MB / 0.7948 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.7628, allocations: 280.1 kB / 0.7951 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.7629, allocations: 16 kB / 0.7951 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7631, allocations: 345.9 kB / 0.7954 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.7646, allocations: 0.5445 MB / 0.7959 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.7664, allocations: 0.8291 MB / 0.7967 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.768, allocations: 0.5964 MB / 0.7973 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.768, allocations: 0 / 0.7973 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003748/0.7718, allocations: 1.506 MB / 0.7988 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.7718, allocations: 8 kB / 0.7988 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.7718, allocations: 8 kB / 0.7988 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.7719, allocations: 16 kB / 0.7988 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.7733, allocations: 300.2 kB / 0.7991 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.194e-05/0.7733, allocations: 19.92 kB / 0.7991 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.7748, allocations: 226.7 kB / 0.7993 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.7749, allocations: 51.97 kB / 0.7994 GB, free: 3.129 MB / 0.6075 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006666/0.7756, allocations: 343.6 kB / 0.7997 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.7759, allocations: 130.4 kB / 0.7998 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003858/0.7798, allocations: 1.424 MB / 0.8012 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.7798, allocations: 8 kB / 0.8012 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7798, allocations: 0 / 0.8012 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.7798, allocations: 3.984 kB / 0.8013 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006277/0.7861, allocations: 2.825 MB / 0.804 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.7862, allocations: 4.094 kB / 0.804 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.7873, allocations: 236 kB / 0.8042 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/0.7874, allocations: 8 kB / 0.8042 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/0.7875, allocations: 27.98 kB / 0.8043 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.427e-05/0.7875, allocations: 11.98 kB / 0.8043 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.7875, allocations: 7.938 kB / 0.8043 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.7926, allocations: 2.279 MB / 0.8065 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/0.7932, allocations: 311.1 kB / 0.8068 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/0.7935, allocations: 20.88 kB / 0.8068 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.7947, allocations: 135.8 kB / 0.807 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.7949, allocations: 68.38 kB / 0.807 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/0.795, allocations: 35.97 kB / 0.8071 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001422/0.7964, allocations: 0.8444 MB / 0.8079 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7964, allocations: 4 kB / 0.8079 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001322/0.7977, allocations: 311.6 kB / 0.8082 GB, free: 9.922 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/0.7992, allocations: 0.5269 MB / 0.8087 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003726/0.8029, allocations: 1.298 MB / 0.81 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.8029, allocations: 0 / 0.81 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.8047, allocations: 0.6521 MB / 0.8106 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.8077, allocations: 0.5605 MB / 0.8112 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/0.8139, allocations: 2.939 MB / 0.814 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/0.8148, allocations: 1.175 MB / 0.8152 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001592/0.8164, allocations: 334.7 kB / 0.8155 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.8169, allocations: 115.4 kB / 0.8156 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.8169, allocations: 0 / 0.8156 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.03785/0.8548, allocations: 20.51 MB / 0.8356 GB, free: 14.16 MB / 0.6544 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)