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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="IDEAS_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.001346/0.001346, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001707/0.001707, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.31/2.31, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.234/1.234, allocations: 132.3 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004957, allocations: 9.031 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6516, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04541/0.6971, allocations: 35.24 MB / 0.6174 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.7126, allocations: 7.707 MB / 0.6249 GB, free: 4.086 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.7148, allocations: 34.03 kB / 0.625 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00265/0.7175, allocations: 0.5064 MB / 0.6254 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005438/0.7229, allocations: 1.181 MB / 0.6266 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.7275, allocations: 1.162 MB / 0.6277 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004106/0.7317, allocations: 1.5 MB / 0.6292 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.7331, allocations: 0.6447 MB / 0.6298 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.7353, allocations: 0.7314 MB / 0.6305 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.7364, allocations: 481.7 kB / 0.631 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.7366, allocations: 40 kB / 0.631 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.7388, allocations: 0.741 MB / 0.6318 GB, free: 14.56 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.7391, allocations: 215.2 kB / 0.632 GB, free: 14.35 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004219/0.7395, allocations: 257.1 kB / 0.6322 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.7419, allocations: 1.664 MB / 0.6338 GB, free: 12.42 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7419, allocations: 4 kB / 0.6338 GB, free: 12.42 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7419, allocations: 0 / 0.6338 GB, free: 12.42 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.7419, allocations: 0 / 0.6338 GB, free: 12.42 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.002762/0.7447, allocations: 1.499 MB / 0.6353 GB, free: 10.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.7448, allocations: 8.031 kB / 0.6353 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.745, allocations: 110.5 kB / 0.6354 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.7453, allocations: 126.5 kB / 0.6355 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.7472, allocations: 1.132 MB / 0.6367 GB, free: 9.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.7473, allocations: 53.3 kB / 0.6367 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.7474, allocations: 64 kB / 0.6368 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.7489, allocations: 0.798 MB / 0.6375 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.7489, allocations: 8 kB / 0.6375 GB, free: 8.453 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.749, allocations: 24 kB / 0.6376 GB, free: 8.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.749, allocations: 16 kB / 0.6376 GB, free: 8.414 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.7502, allocations: 0.618 MB / 0.6382 GB, free: 7.793 MB / 478.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.004572/0.7548, allocations: 3.131 MB / 0.6412 GB, free: 4.492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.7557, allocations: 467.9 kB / 0.6417 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009676/0.7566, allocations: 0.7792 MB / 0.6425 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.7567, allocations: 38.56 kB / 0.6425 GB, free: 3.035 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.495e-06/0.7567, allocations: 0 / 0.6425 GB, free: 3.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.002063/0.7588, allocations: 1.248 MB / 0.6437 GB, free: 1.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.7589, allocations: 140.5 kB / 0.6438 GB, free: 1.539 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.7605, allocations: 0.9967 MB / 0.6448 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.841e-05/0.7606, allocations: 37.7 kB / 0.6449 GB, free: 492 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.761, allocations: 468.4 kB / 0.6453 GB, free: 20 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.7612, allocations: 130.2 kB / 0.6454 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.7613, allocations: 12 kB / 0.6454 GB, free: 15.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.7614, allocations: 322 kB / 0.6457 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.762, allocations: 328.8 kB / 0.6461 GB, free: 15.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.7626, allocations: 435.6 kB / 0.6465 GB, free: 14.78 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.7633, allocations: 0.5274 MB / 0.647 GB, free: 14.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7633, allocations: 0 / 0.647 GB, free: 14.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001977/0.7653, allocations: 1.072 MB / 0.648 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005605/0.7659, allocations: 0.9667 MB / 0.649 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7659, allocations: 0 / 0.649 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.766, allocations: 7.984 kB / 0.649 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.7664, allocations: 91.83 kB / 0.6491 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.7665, allocations: 4 kB / 0.6491 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008798/0.7673, allocations: 119.2 kB / 0.6492 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.7674, allocations: 31.98 kB / 0.6492 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.7674, allocations: 4 kB / 0.6492 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001585/0.769, allocations: 1.07 MB / 0.6503 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.7691, allocations: 4 kB / 0.6503 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.7691, allocations: 7.953 kB / 0.6503 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.7694, allocations: 91.89 kB / 0.6504 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.7695, allocations: 7.938 kB / 0.6504 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/0.7703, allocations: 108.2 kB / 0.6505 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.7703, allocations: 35.92 kB / 0.6505 GB, free: 10.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 6 * 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.0007489/0.7711, allocations: 470.1 kB / 0.651 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.7713, allocations: 102.8 kB / 0.6511 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.7729, allocations: 0.9277 MB / 0.652 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.7729, allocations: 8 kB / 0.652 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.7729, allocations: 7.969 kB / 0.652 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.7741, allocations: 0.9845 MB / 0.6529 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.7776, allocations: 2.078 MB / 0.655 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.7776, allocations: 0 / 0.655 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.7779, allocations: 63.91 kB / 0.655 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.778, allocations: 7.984 kB / 0.655 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.778, allocations: 16 kB / 0.6551 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.778, allocations: 4 kB / 0.6551 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.778, allocations: 4 kB / 0.6551 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.7802, allocations: 1.528 MB / 0.6566 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.7808, allocations: 283.6 kB / 0.6568 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.781, allocations: 19.94 kB / 0.6568 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.7816, allocations: 55.95 kB / 0.6569 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.7817, allocations: 55.89 kB / 0.657 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.7818, allocations: 23.98 kB / 0.657 GB, free: 3.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.7831, allocations: 0.7141 MB / 0.6577 GB, free: 2.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7832, allocations: 0 / 0.6577 GB, free: 2.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002233/0.7854, allocations: 0.5148 MB / 0.6582 GB, free: 2.188 MB / 494.1 MB 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 (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.00446/0.7899, allocations: 2.962 MB / 0.6611 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002797/0.7927, allocations: 1.914 MB / 0.6629 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.7927, allocations: 0 / 0.6629 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007862/0.7935, allocations: 0.5467 MB / 0.6635 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.7962, allocations: 0.4922 MB / 0.664 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.8012, allocations: 4.122 MB / 0.668 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.802, allocations: 1.095 MB / 0.669 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009235/0.8029, allocations: 210.7 kB / 0.6692 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.8034, allocations: 383.3 kB / 0.6696 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of SimCode: time 1.543e-06/0.8035, allocations: 0 / 0.6696 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1617/0.9652, allocations: 31.37 MB / 0.7002 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.9655, allocations: 236.4 kB / 0.7005 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/4.942, allocations: 0 / 0.7005 GB, free: 6.992 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) Environment - environmentSimulation: