Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005266/0.005266, allocations: 102.2 kB / 15.73 MB, free: 6.488 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.001327/0.001327, allocations: 194.5 kB / 16.68 MB, free: 6.375 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9133/0.9133, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 63.91 kB / 0.5857 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4718, allocations: 80.9 MB / 0.6647 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2132/0.685, allocations: 193.8 MB / 0.8539 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008933/0.694, allocations: 5.149 MB / 0.859 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.6966, allocations: 43.69 kB / 0.859 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.6993, allocations: 0.8276 MB / 0.8598 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00803/0.7074, allocations: 2.695 MB / 0.8624 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003075/0.7105, allocations: 1.11 MB / 0.8635 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004072/0.7145, allocations: 2.691 MB / 0.8662 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.7164, allocations: 0.9502 MB / 0.8671 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.7192, allocations: 1.144 MB / 0.8682 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4902/1.209, allocations: 0.9834 MB / 0.8692 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004213/1.21, allocations: 87.78 kB / 0.8692 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/1.214, allocations: 1.796 MB / 0.871 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007088/1.215, allocations: 454.8 kB / 0.8714 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/1.216, allocations: 0.6611 MB / 0.8721 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005205/1.222, allocations: 2.226 MB / 0.8743 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.222, allocations: 1.156 kB / 0.8743 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.405e-06/1.222, allocations: 1.891 kB / 0.8743 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.527e-05/1.222, allocations: 0.625 kB / 0.8743 GB, free: 5.723 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005619/1.227, allocations: 1.965 MB / 0.8762 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.227, allocations: 10.88 kB / 0.8762 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005716/1.233, allocations: 0.8914 MB / 0.8771 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/1.235, allocations: 0.9744 MB / 0.878 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.917e-05/1.235, allocations: 70.66 kB / 0.8781 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/1.236, allocations: 92.06 kB / 0.8782 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/1.24, allocations: 1.584 MB / 0.8797 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/1.24, allocations: 5.422 kB / 0.8797 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.24, allocations: 36.03 kB / 0.8798 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-05/1.24, allocations: 51.09 kB / 0.8798 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005274/1.246, allocations: 1.85 MB / 0.8816 GB, free: 4.18 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.008753/1.254, allocations: 4.725 MB / 0.8862 GB, free: 18.33 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/1.259, allocations: 1.567 MB / 0.8878 GB, free: 18.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/1.261, allocations: 0.8525 MB / 0.8886 GB, free: 18.29 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/1.263, allocations: 0.9409 MB / 0.8895 GB, free: 17.35 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003008/1.266, allocations: 0.9215 MB / 0.8904 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 7.595e-06/1.266, allocations: 3.422 kB / 0.8904 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.008199/1.274, allocations: 2.453 MB / 0.8928 GB, free: 17.19 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/1.274, allocations: 62.47 kB / 0.8929 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/1.276, allocations: 1.2 MB / 0.894 GB, free: 16.97 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/1.276, allocations: 45.42 kB / 0.8941 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/1.276, allocations: 0.5348 MB / 0.8946 GB, free: 16.77 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/1.277, allocations: 330.1 kB / 0.8949 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/1.277, allocations: 190.3 kB / 0.8951 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.277, allocations: 341.2 kB / 0.8954 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/1.279, allocations: 0.6991 MB / 0.8961 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/1.281, allocations: 0.9105 MB / 0.897 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/1.285, allocations: 1.555 MB / 0.8985 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.285, allocations: 0 / 0.8985 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004448/1.289, allocations: 1.785 MB / 0.9003 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.289, allocations: 8.188 kB / 0.9003 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.289, allocations: 4.656 kB / 0.9003 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.289, allocations: 8.5 kB / 0.9003 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/1.291, allocations: 343.1 kB / 0.9006 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/1.291, allocations: 10.22 kB / 0.9006 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.293, allocations: 232.8 kB / 0.9008 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.293, allocations: 48.03 kB / 0.9009 GB, free: 15.67 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006565/1.294, allocations: 341.1 kB / 0.9012 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.294, allocations: 137 kB / 0.9013 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004421/1.298, allocations: 1.804 MB / 0.9031 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.298, allocations: 11.53 kB / 0.9031 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.298, allocations: 3.656 kB / 0.9031 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.298, allocations: 5.953 kB / 0.9031 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006559/1.305, allocations: 3.318 MB / 0.9064 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.305, allocations: 4.719 kB / 0.9064 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.306, allocations: 293.5 kB / 0.9066 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.306, allocations: 8.156 kB / 0.9067 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.656e-05/1.306, allocations: 35.44 kB / 0.9067 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.306, allocations: 11.69 kB / 0.9067 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.306, allocations: 4.812 kB / 0.9067 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006386/1.313, allocations: 2.842 MB / 0.9095 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/1.314, allocations: 326.3 kB / 0.9098 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.314, allocations: 26.2 kB / 0.9098 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.315, allocations: 156.7 kB / 0.91 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.315, allocations: 68.19 kB / 0.91 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/1.315, allocations: 44.69 kB / 0.9101 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001001/1.316, allocations: 0.8314 MB / 0.9109 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.316, allocations: 0 / 0.9109 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001098/1.317, allocations: 339.3 kB / 0.9112 GB, free: 14.07 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001251/1.319, allocations: 0.5451 MB / 0.9117 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004939/1.324, allocations: 1.628 MB / 0.9133 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.324, allocations: 2.938 kB / 0.9133 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.326, allocations: 0.8399 MB / 0.9142 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.329, allocations: 0.6112 MB / 0.9147 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/1.334, allocations: 2.972 MB / 0.9177 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/1.335, allocations: 1.188 MB / 0.9188 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001453/1.337, allocations: 361.2 kB / 0.9192 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/1.337, allocations: 113.4 kB / 0.9193 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of SimCode: time 7.91e-07/1.337, allocations: 0 / 0.9193 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of Templates: time 0.03957/1.377, allocations: 23.93 MB / 0.9426 GB, free: 236 kB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)