Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008293/0.0008293, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004636/0.004636, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.145/1.145, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7942/0.7942, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 9.094 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1285, allocations: 82.31 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.241/0.3695, allocations: 40.83 MB / 0.628 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007547/0.3771, allocations: 8.872 MB / 0.6366 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006015/0.3777, allocations: 35.84 kB / 0.6367 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009084/0.3786, allocations: 485.9 kB / 0.6371 GB, free: 24.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.3804, allocations: 1.167 MB / 0.6383 GB, free: 23.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3821, allocations: 1.045 MB / 0.6393 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.3841, allocations: 3.343 MB / 0.6425 GB, free: 21.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006693/0.3848, allocations: 0.7528 MB / 0.6433 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/0.3856, allocations: 0.8325 MB / 0.6441 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.3862, allocations: 0.6896 MB / 0.6448 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.24e-05/0.3863, allocations: 39.16 kB / 0.6448 GB, free: 20.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3875, allocations: 1.063 MB / 0.6458 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.3877, allocations: 246.9 kB / 0.6461 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.388, allocations: 0.5641 MB / 0.6466 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.3894, allocations: 2.23 MB / 0.6488 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3894, allocations: 0 / 0.6488 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3894, allocations: 0 / 0.6488 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3895, allocations: 0 / 0.6488 GB, free: 19.14 MB / 0.4981 GB 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.00155/0.391, allocations: 1.515 MB / 0.6503 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.391, allocations: 16.25 kB / 0.6503 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.463e-05/0.3912, allocations: 105.6 kB / 0.6504 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.3914, allocations: 132.2 kB / 0.6505 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3925, allocations: 1.068 MB / 0.6516 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.3925, allocations: 48.88 kB / 0.6516 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/0.3926, allocations: 66.38 kB / 0.6517 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009971/0.3936, allocations: 0.8211 MB / 0.6525 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3936, allocations: 2.781 kB / 0.6525 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.3937, allocations: 25.34 kB / 0.6525 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3937, allocations: 15.78 kB / 0.6525 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008126/0.3945, allocations: 0.6229 MB / 0.6531 GB, free: 16.5 MB / 0.4981 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.002707/0.3972, allocations: 3.223 MB / 0.6563 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.3979, allocations: 462.5 kB / 0.6567 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.3983, allocations: 321 kB / 0.657 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.3989, allocations: 0.7841 MB / 0.6578 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.3989, allocations: 38.05 kB / 0.6578 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.503e-06/0.3989, allocations: 0 / 0.6578 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001381/0.4003, allocations: 1.013 MB / 0.6588 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.4004, allocations: 142.4 kB / 0.659 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4016, allocations: 1.073 MB / 0.66 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.4016, allocations: 38.61 kB / 0.66 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.4019, allocations: 465 kB / 0.6605 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.402, allocations: 135.2 kB / 0.6606 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.4021, allocations: 51.98 kB / 0.6607 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.4021, allocations: 330 kB / 0.661 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.4026, allocations: 350.2 kB / 0.6613 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.4031, allocations: 463.2 kB / 0.6618 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009605/0.4041, allocations: 0.9746 MB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4041, allocations: 4 kB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001281/0.4054, allocations: 1.113 MB / 0.6638 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.4055, allocations: 317.8 kB / 0.6641 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4055, allocations: 6.312 kB / 0.6641 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4055, allocations: 3.531 kB / 0.6641 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.4058, allocations: 91.72 kB / 0.6642 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4058, allocations: 9.703 kB / 0.6642 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.4064, allocations: 118.9 kB / 0.6643 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.4064, allocations: 23.84 kB / 0.6643 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.4065, allocations: 4.469 kB / 0.6643 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/0.4077, allocations: 1.109 MB / 0.6654 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.4077, allocations: 5.984 kB / 0.6654 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.4077, allocations: 5.188 kB / 0.6654 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.408, allocations: 95.58 kB / 0.6655 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.408, allocations: 3.672 kB / 0.6655 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.4086, allocations: 96.41 kB / 0.6656 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.4086, allocations: 23.02 kB / 0.6656 GB, free: 8.66 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.0003364/0.4089, allocations: 482.8 kB / 0.6661 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.4091, allocations: 104.1 kB / 0.6662 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.4103, allocations: 0.9282 MB / 0.6671 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4103, allocations: 9.328 kB / 0.6671 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4103, allocations: 1.062 kB / 0.6671 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009087/0.4112, allocations: 0.9908 MB / 0.6681 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.4137, allocations: 2.132 MB / 0.6702 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4137, allocations: 1.469 kB / 0.6702 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.4139, allocations: 68.75 kB / 0.6702 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.414, allocations: 4.156 kB / 0.6702 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.414, allocations: 23.12 kB / 0.6703 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.414, allocations: 4.328 kB / 0.6703 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.414, allocations: 7.312 kB / 0.6703 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.4155, allocations: 1.411 MB / 0.6717 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.4158, allocations: 297.4 kB / 0.6719 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.4159, allocations: 20.59 kB / 0.672 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.4164, allocations: 51.2 kB / 0.672 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4166, allocations: 46.91 kB / 0.6721 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.4166, allocations: 22.3 kB / 0.6721 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008259/0.4174, allocations: 0.7804 MB / 0.6728 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4174, allocations: 0 / 0.6728 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001084/0.4185, allocations: 0.5121 MB / 0.6733 GB, free: 4.426 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.002206/0.4207, allocations: 2.249 MB / 0.6755 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.4225, allocations: 1.96 MB / 0.6774 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4225, allocations: 1.188 kB / 0.6774 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.423, allocations: 0.5456 MB / 0.678 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.4253, allocations: 0.5096 MB / 0.6785 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.4384, allocations: 9.607 MB / 0.6879 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.439, allocations: 1.068 MB / 0.6889 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006677/0.4397, allocations: 206.2 kB / 0.6891 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/0.4402, allocations: 396.1 kB / 0.6895 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of SimCode: time 7.62e-07/0.4402, allocations: 0 / 0.6895 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.937/4.377, allocations: 31.55 MB / 0.7203 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/4.378, allocations: 260.8 kB / 0.7205 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/6.759, allocations: 4 kB / 0.7205 GB, free: 3.355 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)