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.001402/0.001402, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.002431/0.002431, allocations: 177.3 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 2.715/2.715, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.778/1.778, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005229/0.0005231, allocations: 8 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3388, allocations: 82.32 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.6965/1.035, allocations: 35.21 MB / 0.6217 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01849/1.054, allocations: 7.722 MB / 0.6292 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002851/1.057, allocations: 32.75 kB / 0.6293 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003358/1.06, allocations: 0.5052 MB / 0.6298 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008139/1.068, allocations: 1.183 MB / 0.6309 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006849/1.075, allocations: 1.161 MB / 0.632 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005968/1.081, allocations: 1.501 MB / 0.6335 GB, free: 27.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/1.084, allocations: 0.6471 MB / 0.6341 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/1.087, allocations: 0.7316 MB / 0.6349 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/1.088, allocations: 480.5 kB / 0.6353 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004173/1.089, allocations: 36.5 kB / 0.6354 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/1.093, allocations: 0.7325 MB / 0.6361 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005661/1.094, allocations: 224.9 kB / 0.6363 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009396/1.095, allocations: 261.8 kB / 0.6365 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/1.099, allocations: 1.649 MB / 0.6381 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.099, allocations: 0 / 0.6381 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.937e-06/1.099, allocations: 0 / 0.6381 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.835e-05/1.099, allocations: 0 / 0.6381 GB, free: 25.44 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.004833/1.104, allocations: 1.509 MB / 0.6396 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/1.104, allocations: 10.66 kB / 0.6396 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004086/1.104, allocations: 107.2 kB / 0.6397 GB, free: 24.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007675/1.105, allocations: 135.3 kB / 0.6399 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/1.109, allocations: 1.124 MB / 0.641 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.109, allocations: 49.16 kB / 0.641 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/1.11, allocations: 72.33 kB / 0.6411 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/1.112, allocations: 0.801 MB / 0.6419 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/1.112, allocations: 3.938 kB / 0.6419 GB, free: 23.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.112, allocations: 33.69 kB / 0.6419 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/1.112, allocations: 15.22 kB / 0.6419 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/1.114, allocations: 0.6198 MB / 0.6425 GB, free: 22.79 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.007838/1.122, allocations: 3.122 MB / 0.6456 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/1.124, allocations: 464.9 kB / 0.646 GB, free: 20.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.125, allocations: 0.7755 MB / 0.6468 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/1.125, allocations: 42.84 kB / 0.6468 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 4.369e-06/1.125, allocations: 0 / 0.6468 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.003185/1.128, allocations: 1.242 MB / 0.648 GB, free: 18.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/1.128, allocations: 139.5 kB / 0.6481 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/1.131, allocations: 0.9998 MB / 0.6491 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.131, allocations: 36.33 kB / 0.6492 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/1.131, allocations: 471.4 kB / 0.6496 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/1.132, allocations: 131.5 kB / 0.6497 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/1.132, allocations: 9.25 kB / 0.6497 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.132, allocations: 337.4 kB / 0.6501 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008011/1.133, allocations: 328.3 kB / 0.6504 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/1.134, allocations: 431.7 kB / 0.6508 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009938/1.135, allocations: 0.5254 MB / 0.6513 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/1.135, allocations: 0 / 0.6513 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002751/1.137, allocations: 1.076 MB / 0.6523 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004516/1.138, allocations: 0.9599 MB / 0.6533 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.138, allocations: 5.953 kB / 0.6533 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-05/1.138, allocations: 5.281 kB / 0.6533 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/1.139, allocations: 96.61 kB / 0.6534 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.164e-05/1.139, allocations: 8.469 kB / 0.6534 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/1.14, allocations: 114.9 kB / 0.6535 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/1.14, allocations: 25.22 kB / 0.6535 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.14, allocations: 3.875 kB / 0.6535 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002834/1.143, allocations: 1.072 MB / 0.6546 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.143, allocations: 1.875 kB / 0.6546 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.143, allocations: 5.156 kB / 0.6546 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/1.144, allocations: 97.48 kB / 0.6547 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/1.144, allocations: 5.125 kB / 0.6547 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.145, allocations: 110.1 kB / 0.6548 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.146, allocations: 28.44 kB / 0.6548 GB, free: 14.53 MB / 0.4981 GB 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.001367/1.147, allocations: 477.5 kB / 0.6553 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/1.148, allocations: 104.3 kB / 0.6554 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/1.151, allocations: 0.9233 MB / 0.6563 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/1.151, allocations: 4.438 kB / 0.6563 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/1.151, allocations: 1.031 kB / 0.6563 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002171/1.153, allocations: 0.9908 MB / 0.6572 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0074/1.16, allocations: 2.072 MB / 0.6593 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.16, allocations: 3.078 kB / 0.6593 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/1.161, allocations: 68.28 kB / 0.6593 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-05/1.161, allocations: 8.078 kB / 0.6593 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/1.161, allocations: 14.95 kB / 0.6594 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.065e-05/1.161, allocations: 12.39 kB / 0.6594 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.161, allocations: 2.906 kB / 0.6594 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/1.165, allocations: 1.523 MB / 0.6609 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.166, allocations: 286 kB / 0.6611 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005559/1.167, allocations: 13.17 kB / 0.6611 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.168, allocations: 63.23 kB / 0.6612 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/1.169, allocations: 46.17 kB / 0.6613 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.169, allocations: 22.83 kB / 0.6613 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003051/1.172, allocations: 0.7228 MB / 0.662 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.11e-07/1.172, allocations: 0 / 0.662 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004547/1.176, allocations: 0.5106 MB / 0.6625 GB, free: 10.19 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.007099/1.183, allocations: 2.971 MB / 0.6654 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004571/1.188, allocations: 1.904 MB / 0.6672 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.188, allocations: 128 / 0.6672 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.19, allocations: 0.552 MB / 0.6678 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005105/1.195, allocations: 0.4922 MB / 0.6683 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/1.205, allocations: 4.13 MB / 0.6723 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/1.206, allocations: 1.089 MB / 0.6734 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00199/1.208, allocations: 212.9 kB / 0.6736 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.209, allocations: 390.3 kB / 0.6739 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of SimCode: time 2.956e-06/1.209, allocations: 0 / 0.6739 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/1.354, allocations: 31.37 MB / 0.7046 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004142/1.354, allocations: 237.1 kB / 0.7048 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.203/6.557, allocations: 0 / 0.7048 GB, free: 2.953 MB / 0.5137 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: