Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 119 kB / 16.42 MB, free: 6.473 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.001258/0.001258, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.272/1.272, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7689/0.7689, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.73 kB / 0.5863 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1363, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04656/0.1829, allocations: 53.28 MB / 0.7174 GB, free: 312 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01987/0.2029, allocations: 15.18 MB / 0.7322 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.2056, allocations: 95.5 kB / 0.7323 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002909/0.2085, allocations: 1.127 MB / 0.7334 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005841/0.2143, allocations: 2.433 MB / 0.7357 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005272/0.2196, allocations: 2.283 MB / 0.738 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006212/0.2258, allocations: 4.628 MB / 0.7425 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.2284, allocations: 1.627 MB / 0.7441 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.2326, allocations: 1.965 MB / 0.746 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.2349, allocations: 1.357 MB / 0.7473 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005908/0.2355, allocations: 168 kB / 0.7475 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3365/0.572, allocations: 1.831 MB / 0.7493 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.5731, allocations: 0.5226 MB / 0.7498 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.5748, allocations: 1.034 MB / 0.7508 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006475/0.5813, allocations: 3.333 MB / 0.7541 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5813, allocations: 1.375 kB / 0.7541 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5813, allocations: 1.281 kB / 0.7541 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.374e-05/0.5814, allocations: 0 / 0.7541 GB, free: 10.47 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005382/0.5868, allocations: 2.514 MB / 0.7565 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5869, allocations: 14.7 kB / 0.7565 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.5891, allocations: 457.6 kB / 0.757 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.5926, allocations: 1.67 MB / 0.7586 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.5928, allocations: 91.36 kB / 0.7587 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.593, allocations: 116.8 kB / 0.7588 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.5959, allocations: 1.345 MB / 0.7601 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.596, allocations: 5.547 kB / 0.7601 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.5961, allocations: 51.47 kB / 0.7602 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.149e-05/0.5962, allocations: 43.22 kB / 0.7602 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.5991, allocations: 1.07 MB / 0.7612 GB, free: 8.332 MB / 0.5762 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.009127/0.6082, allocations: 7.073 MB / 0.7682 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.6105, allocations: 1.353 MB / 0.7695 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/0.6114, allocations: 416.7 kB / 0.7699 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00508/0.6165, allocations: 3.091 MB / 0.7729 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009846/0.6175, allocations: 438 kB / 0.7733 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.725e-06/0.6175, allocations: 5.156 kB / 0.7733 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002985/0.6205, allocations: 1.207 MB / 0.7745 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.6205, allocations: 61.47 kB / 0.7746 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.6225, allocations: 1.532 MB / 0.776 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.6226, allocations: 40.45 kB / 0.7761 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/0.6232, allocations: 0.8864 MB / 0.777 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.6234, allocations: 220.5 kB / 0.7772 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.6236, allocations: 205.6 kB / 0.7774 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6238, allocations: 341.8 kB / 0.7777 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008884/0.6247, allocations: 380.4 kB / 0.778 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.6257, allocations: 0.7487 MB / 0.7788 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.6276, allocations: 1.116 MB / 0.7799 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.6276, allocations: 3.875 kB / 0.7799 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002668/0.6303, allocations: 1.286 MB / 0.7811 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.6304, allocations: 43.89 kB / 0.7812 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.6304, allocations: 10.88 kB / 0.7812 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.6304, allocations: 19.41 kB / 0.7812 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/0.6314, allocations: 250.8 kB / 0.7814 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.6314, allocations: 27.02 kB / 0.7815 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.6325, allocations: 133.1 kB / 0.7816 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.6326, allocations: 51.23 kB / 0.7816 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001403/0.6341, allocations: 0.6736 MB / 0.7823 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009971/0.6351, allocations: 0.7339 MB / 0.783 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001771/0.6368, allocations: 1.087 MB / 0.7841 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.842e-06/0.6369, allocations: 4.031 kB / 0.7841 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002492/0.6394, allocations: 1.257 MB / 0.7853 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.6394, allocations: 39.16 kB / 0.7853 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6394, allocations: 10.91 kB / 0.7854 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6394, allocations: 17.56 kB / 0.7854 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008932/0.6403, allocations: 256.4 kB / 0.7856 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.6404, allocations: 30.45 kB / 0.7856 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6415, allocations: 120.9 kB / 0.7858 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-05/0.6416, allocations: 51 kB / 0.7858 GB, free: 13.82 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * 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.0003133/0.6419, allocations: 242.8 kB / 0.786 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.6421, allocations: 161.3 kB / 0.7862 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.6446, allocations: 1.116 MB / 0.7873 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001761/0.6463, allocations: 0.961 MB / 0.7882 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6464, allocations: 0 / 0.7882 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/0.647, allocations: 329.3 kB / 0.7885 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.6472, allocations: 15.75 kB / 0.7886 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007212/0.6479, allocations: 57.92 kB / 0.7886 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.648, allocations: 56.33 kB / 0.7887 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002354/0.6504, allocations: 1.033 MB / 0.7897 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002701/0.6531, allocations: 1.587 MB / 0.7912 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007918/0.6539, allocations: 413.8 kB / 0.7916 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001275/0.6552, allocations: 1.027 MB / 0.7926 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of Backend: time 7.32e-07/0.6552, allocations: 0 / 0.7926 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005476/0.6607, allocations: 2.127 MB / 0.7947 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005838/0.6665, allocations: 3.795 MB / 0.7984 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.05369/0.7202, allocations: 35.22 MB / 0.8328 GB, free: 364 kB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)