Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001058, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6936/0.6936, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.48 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3364, allocations: 80.2 MB / 0.5801 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03867/0.3751, allocations: 41.95 MB / 0.6211 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3871, allocations: 8.874 MB / 0.6297 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.3884, allocations: 41.19 kB / 0.6298 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.3899, allocations: 0.578 MB / 0.6303 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.3927, allocations: 1.26 MB / 0.6316 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.3954, allocations: 1.18 MB / 0.6327 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002796/0.3982, allocations: 2.681 MB / 0.6353 GB, free: 8.848 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.3993, allocations: 0.9264 MB / 0.6362 GB, free: 7.898 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.4012, allocations: 1.043 MB / 0.6373 GB, free: 6.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007719/0.402, allocations: 0.7467 MB / 0.638 GB, free: 6.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.4021, allocations: 120 kB / 0.6381 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.4042, allocations: 1.178 MB / 0.6393 GB, free: 4.805 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.4045, allocations: 327 kB / 0.6396 GB, free: 4.484 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.405, allocations: 0.6416 MB / 0.6402 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.4076, allocations: 2.337 MB / 0.6425 GB, free: 1.496 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4076, allocations: 4 kB / 0.6425 GB, free: 1.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4076, allocations: 0 / 0.6425 GB, free: 1.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.684e-05/0.4077, allocations: 0 / 0.6425 GB, free: 1.492 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002295/0.41, allocations: 1.721 MB / 0.6442 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.41, allocations: 8.031 kB / 0.6442 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.4103, allocations: 135.4 kB / 0.6443 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.4117, allocations: 1.042 MB / 0.6453 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.4118, allocations: 53.25 kB / 0.6454 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.847e-05/0.4119, allocations: 79.88 kB / 0.6454 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4131, allocations: 0.8059 MB / 0.6462 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4131, allocations: 0 / 0.6462 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.4132, allocations: 28 kB / 0.6463 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.4132, allocations: 19.98 kB / 0.6463 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009759/0.4142, allocations: 0.6102 MB / 0.6469 GB, free: 12.83 MB / 494.1 MB 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.00342/0.4176, allocations: 3.228 MB / 0.65 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.4183, allocations: 465.6 kB / 0.6505 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.4188, allocations: 312.7 kB / 0.6508 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000735/0.4195, allocations: 0.7675 MB / 0.6515 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4196, allocations: 38.56 kB / 0.6516 GB, free: 7.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 1.753e-06/0.4196, allocations: 0 / 0.6516 GB, free: 7.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.001512/0.4211, allocations: 0.9865 MB / 0.6525 GB, free: 6.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.4212, allocations: 140.5 kB / 0.6527 GB, free: 6.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4224, allocations: 1.09 MB / 0.6537 GB, free: 5.398 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.4224, allocations: 41.64 kB / 0.6538 GB, free: 5.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.4228, allocations: 468.5 kB / 0.6542 GB, free: 4.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4229, allocations: 130.1 kB / 0.6543 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.4231, allocations: 118 kB / 0.6544 GB, free: 4.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4232, allocations: 325.9 kB / 0.6548 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.4237, allocations: 354.6 kB / 0.6551 GB, free: 3.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.4242, allocations: 450.8 kB / 0.6555 GB, free: 3.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.4253, allocations: 0.9679 MB / 0.6565 GB, free: 2.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4253, allocations: 3.938 kB / 0.6565 GB, free: 2.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001415/0.4268, allocations: 1.108 MB / 0.6576 GB, free: 1.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.4269, allocations: 186.2 kB / 0.6577 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4269, allocations: 0 / 0.6577 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4269, allocations: 4 kB / 0.6577 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.4273, allocations: 88.11 kB / 0.6578 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.4273, allocations: 4 kB / 0.6578 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.4278, allocations: 91.3 kB / 0.6579 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.4279, allocations: 20 kB / 0.6579 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007375/0.4286, allocations: 0.6 MB / 0.6585 GB, free: 280 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005728/0.4292, allocations: 450.7 kB / 0.6589 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001033/0.4302, allocations: 0.9667 MB / 0.6599 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.4303, allocations: 0 / 0.6599 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001387/0.4317, allocations: 1.107 MB / 0.661 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.812e-05/0.4317, allocations: 186.2 kB / 0.6611 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.4318, allocations: 0 / 0.6611 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-06/0.4318, allocations: 4 kB / 0.6611 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.4321, allocations: 83.89 kB / 0.6612 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4321, allocations: 7.938 kB / 0.6612 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.4326, allocations: 67.8 kB / 0.6613 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.4327, allocations: 20 kB / 0.6613 GB, free: 13.21 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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.0001945/0.4329, allocations: 301.2 kB / 0.6616 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.4331, allocations: 98.78 kB / 0.6617 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.4344, allocations: 0.918 MB / 0.6626 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4344, allocations: 4 kB / 0.6626 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.4344, allocations: 0 / 0.6626 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.4355, allocations: 0.9795 MB / 0.6636 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.4382, allocations: 2.117 MB / 0.6656 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4382, allocations: 7.938 kB / 0.6656 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.4385, allocations: 63.91 kB / 0.6657 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.4385, allocations: 4 kB / 0.6657 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.4386, allocations: 19.92 kB / 0.6657 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4386, allocations: 7.938 kB / 0.6657 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4386, allocations: 4 kB / 0.6657 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.4403, allocations: 1.405 MB / 0.6671 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.4406, allocations: 275.7 kB / 0.6674 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.4408, allocations: 19.98 kB / 0.6674 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.4412, allocations: 32.03 kB / 0.6674 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4414, allocations: 51.95 kB / 0.6675 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.4414, allocations: 23.98 kB / 0.6675 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009151/0.4423, allocations: 0.7805 MB / 0.6682 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4423, allocations: 4 kB / 0.6683 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001135/0.4435, allocations: 0.5187 MB / 0.6688 GB, free: 5.242 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * 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.0006767/0.4442, allocations: 394.8 kB / 0.6691 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.4462, allocations: 1.97 MB / 0.6711 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4463, allocations: 0 / 0.6711 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.4469, allocations: 0.5453 MB / 0.6716 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.449, allocations: 0.5296 MB / 0.6721 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.4514, allocations: 1.923 MB / 0.674 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.4519, allocations: 1.064 MB / 0.675 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006172/0.4526, allocations: 208 kB / 0.6752 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.4527, allocations: 83.41 kB / 0.6753 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.4527, allocations: 4 kB / 0.6753 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.0336/0.4863, allocations: 24.37 MB / 0.6991 GB, free: 6.305 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)