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.001048/0.001048, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001296/0.001296, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9756/0.9756, allocations: 135.3 MB / 426.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003264, allocations: 8 kB / 0.5071 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 82.32 MB / 0.5875 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.3067/0.4535, allocations: 38.64 MB / 0.6252 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00966/0.4632, allocations: 8.279 MB / 0.6333 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.4647, allocations: 36.69 kB / 0.6333 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.466, allocations: 418.4 kB / 0.6337 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.4688, allocations: 0.987 MB / 0.6347 GB, free: 26.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.4713, allocations: 0.8382 MB / 0.6355 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003198/0.4745, allocations: 2.893 MB / 0.6383 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.4754, allocations: 0.6369 MB / 0.639 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.4768, allocations: 0.797 MB / 0.6397 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007146/0.4775, allocations: 0.6569 MB / 0.6404 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/0.4776, allocations: 40.56 kB / 0.6404 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.4793, allocations: 0.8588 MB / 0.6413 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.4795, allocations: 250 kB / 0.6415 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.4798, allocations: 255.3 kB / 0.6417 GB, free: 23.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.4812, allocations: 1.753 MB / 0.6435 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4812, allocations: 0 / 0.6435 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4812, allocations: 0 / 0.6435 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.4812, allocations: 0 / 0.6435 GB, free: 22.71 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.001811/0.483, allocations: 1.52 MB / 0.6449 GB, free: 21.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4831, allocations: 9.344 kB / 0.6449 GB, free: 21.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.4832, allocations: 109 kB / 0.6451 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.4834, allocations: 130.4 kB / 0.6452 GB, free: 21.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.4847, allocations: 1.029 MB / 0.6462 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4848, allocations: 53.39 kB / 0.6462 GB, free: 20.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/0.4849, allocations: 67.88 kB / 0.6463 GB, free: 20.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.4861, allocations: 0.8083 MB / 0.6471 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.4861, allocations: 0 / 0.6471 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.4862, allocations: 23.88 kB / 0.6471 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.4862, allocations: 23.69 kB / 0.6471 GB, free: 20.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/0.4871, allocations: 0.6113 MB / 0.6477 GB, free: 20.12 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.003144/0.4903, allocations: 3.222 MB / 0.6509 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.491, allocations: 465.1 kB / 0.6513 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.4914, allocations: 315.8 kB / 0.6516 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/0.492, allocations: 0.7791 MB / 0.6524 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.492, allocations: 37.47 kB / 0.6524 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.993e-06/0.492, allocations: 4 kB / 0.6524 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001439/0.4935, allocations: 1.007 MB / 0.6534 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.4935, allocations: 145.9 kB / 0.6535 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.495, allocations: 1.066 MB / 0.6546 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.495, allocations: 36.48 kB / 0.6546 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.4954, allocations: 467.8 kB / 0.6551 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.4955, allocations: 131 kB / 0.6552 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.4956, allocations: 11.78 kB / 0.6552 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.4956, allocations: 329 kB / 0.6555 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.4962, allocations: 352.6 kB / 0.6558 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.4969, allocations: 450 kB / 0.6563 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007142/0.4976, allocations: 0.5423 MB / 0.6568 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4976, allocations: 0.5 kB / 0.6568 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001662/0.4993, allocations: 1.107 MB / 0.6579 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.4995, allocations: 321 kB / 0.6582 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4995, allocations: 2.562 kB / 0.6582 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4995, allocations: 8.781 kB / 0.6582 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.4999, allocations: 91.45 kB / 0.6583 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.4999, allocations: 8.031 kB / 0.6583 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007471/0.5007, allocations: 107.6 kB / 0.6584 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.5008, allocations: 23.02 kB / 0.6584 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.5008, allocations: 3.812 kB / 0.6584 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/0.5024, allocations: 1.106 MB / 0.6595 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5024, allocations: 1.875 kB / 0.6595 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.5024, allocations: 5.141 kB / 0.6595 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.5028, allocations: 95.17 kB / 0.6596 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5028, allocations: 8.484 kB / 0.6596 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.5034, allocations: 103.3 kB / 0.6597 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.5035, allocations: 24.06 kB / 0.6597 GB, free: 12.6 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.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 (53): * Single equations (assignments): 47 * 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.0006725/0.5042, allocations: 474.9 kB / 0.6602 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.5044, allocations: 105.2 kB / 0.6603 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.5061, allocations: 0.9233 MB / 0.6612 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.5061, allocations: 4.969 kB / 0.6612 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5061, allocations: 0.9688 kB / 0.6612 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/0.5073, allocations: 0.9932 MB / 0.6622 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.5111, allocations: 2.126 MB / 0.6642 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.5111, allocations: 2.656 kB / 0.6642 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.5114, allocations: 68.86 kB / 0.6643 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/0.5114, allocations: 4.469 kB / 0.6643 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.5115, allocations: 18.02 kB / 0.6643 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.5115, allocations: 4.109 kB / 0.6643 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5115, allocations: 6.516 kB / 0.6643 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.5136, allocations: 1.416 MB / 0.6657 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.5142, allocations: 292.8 kB / 0.666 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.5144, allocations: 12.66 kB / 0.666 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/0.5151, allocations: 62.33 kB / 0.6661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.5153, allocations: 54.3 kB / 0.6661 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/0.5154, allocations: 22.06 kB / 0.6661 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001518/0.5169, allocations: 0.763 MB / 0.6669 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5169, allocations: 4 kB / 0.6669 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002053/0.519, allocations: 0.5103 MB / 0.6674 GB, free: 8.367 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 (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.003179/0.5221, allocations: 2.233 MB / 0.6696 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002579/0.5247, allocations: 1.944 MB / 0.6715 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.5248, allocations: 1.438 kB / 0.6715 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.5255, allocations: 0.5591 MB / 0.672 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.5285, allocations: 0.5017 MB / 0.6725 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/0.5449, allocations: 7.246 MB / 0.6796 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.546, allocations: 1.075 MB / 0.6806 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001252/0.5473, allocations: 206.5 kB / 0.6808 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006408/0.5479, allocations: 386.2 kB / 0.6812 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/0.548, allocations: 0 / 0.6812 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/0.6129, allocations: 32.31 MB / 0.7128 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.6132, allocations: 254.5 kB / 0.713 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.058, allocations: 0 / 0.713 GB, free: 11.11 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/linux/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) Environment - environmentSimulation: