Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.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.Examples.EmbeddedPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe",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.001668/0.001668, allocations: 99.86 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.002661/0.002661, 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.557/2.557, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.86/1.86, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000539/0.0005391, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3674, allocations: 82.32 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe): time 0.6665/1.034, allocations: 28.23 MB / 0.6148 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02007/1.054, allocations: 7.667 MB / 0.6223 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003835/1.058, allocations: 41.97 kB / 0.6224 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/1.062, allocations: 0.5048 MB / 0.6229 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009678/1.071, allocations: 1.4 MB / 0.6242 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007652/1.079, allocations: 1.286 MB / 0.6255 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006915/1.086, allocations: 2.326 MB / 0.6278 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/1.09, allocations: 1.449 MB / 0.6292 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/1.094, allocations: 1.14 MB / 0.6303 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003509/1.098, allocations: 0.8875 MB / 0.6312 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007075/1.099, allocations: 98.56 kB / 0.6312 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005887/1.104, allocations: 1.095 MB / 0.6323 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/1.106, allocations: 336.8 kB / 0.6326 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/1.107, allocations: 398.4 kB / 0.633 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006077/1.113, allocations: 2.613 MB / 0.6356 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.113, allocations: 4 kB / 0.6356 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.38e-06/1.113, allocations: 0 / 0.6356 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000119/1.113, allocations: 4 kB / 0.6356 GB, free: 28.54 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: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.008966/1.122, allocations: 2.073 MB / 0.6376 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 9.229e-05/1.123, allocations: 8.938 kB / 0.6376 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001139/1.124, allocations: 210.3 kB / 0.6378 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/1.125, allocations: 302.7 kB / 0.6381 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/1.131, allocations: 1.282 MB / 0.6394 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007697/1.131, allocations: 191.8 kB / 0.6395 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007016/1.132, allocations: 153 kB / 0.6397 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005989/1.138, allocations: 1.895 MB / 0.6415 GB, free: 25.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.67e-05/1.138, allocations: 19.78 kB / 0.6415 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/1.139, allocations: 60.78 kB / 0.6416 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.701e-05/1.139, allocations: 47.84 kB / 0.6417 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00501/1.144, allocations: 1.732 MB / 0.6433 GB, free: 24.89 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.01962/1.163, allocations: 6.479 MB / 0.6497 GB, free: 20.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009198/1.173, allocations: 2.268 MB / 0.6519 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002073/1.175, allocations: 1.43 MB / 0.6533 GB, free: 18.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.844e-05/1.175, allocations: 50.8 kB / 0.6533 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=136): time 6.633e-06/1.175, allocations: 0 / 0.6533 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.01215/1.187, allocations: 2.61 MB / 0.6559 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/1.187, allocations: 92.52 kB / 0.656 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004883/1.192, allocations: 1.15 MB / 0.6571 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004658/1.193, allocations: 46.83 kB / 0.6571 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/1.194, allocations: 0.6307 MB / 0.6578 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001245/1.195, allocations: 492.1 kB / 0.6582 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.195, allocations: 29.28 kB / 0.6582 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002612/1.195, allocations: 362.1 kB / 0.6586 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/1.198, allocations: 0.6942 MB / 0.6593 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/1.201, allocations: 0.908 MB / 0.6602 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/1.204, allocations: 0.8494 MB / 0.661 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.204, allocations: 1.156 kB / 0.661 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.007868/1.212, allocations: 1.983 MB / 0.6629 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004621/1.213, allocations: 1.489 MB / 0.6644 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.213, allocations: 3.891 kB / 0.6644 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007845/1.213, allocations: 140.3 kB / 0.6645 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/1.216, allocations: 377.8 kB / 0.6649 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/1.222, allocations: 3.678 MB / 0.6685 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/1.226, allocations: 231.7 kB / 0.6687 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/1.226, allocations: 55.58 kB / 0.6687 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.226, allocations: 6.703 kB / 0.6688 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007147/1.233, allocations: 1.839 MB / 0.6705 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/1.233, allocations: 3.75 kB / 0.6705 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007056/1.234, allocations: 140.7 kB / 0.6707 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/1.237, allocations: 378.5 kB / 0.671 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/1.243, allocations: 3.666 MB / 0.6746 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/1.246, allocations: 223.4 kB / 0.6748 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005094/1.247, allocations: 50.41 kB / 0.6749 GB, free: 4.898 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002806/1.25, allocations: 0.5929 MB / 0.6755 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/1.251, allocations: 145.1 kB / 0.6756 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008218/1.259, allocations: 1.989 MB / 0.6775 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.761e-05/1.259, allocations: 15.64 kB / 0.6776 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.308e-05/1.259, allocations: 2.812 kB / 0.6776 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.44e-05/1.26, allocations: 7.219 kB / 0.6776 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/1.277, allocations: 3.983 MB / 0.6815 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.277, allocations: 1.438 kB / 0.6815 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/1.28, allocations: 342.9 kB / 0.6818 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006575/1.281, allocations: 133.8 kB / 0.6819 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000387/1.281, allocations: 50.19 kB / 0.682 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005502/1.287, allocations: 3.565 MB / 0.6854 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.287, allocations: 5.125 kB / 0.6855 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009336/1.296, allocations: 2.888 MB / 0.6883 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/1.299, allocations: 428.5 kB / 0.6887 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008575/1.3, allocations: 44.67 kB / 0.6887 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/1.303, allocations: 144.2 kB / 0.6889 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004476/1.303, allocations: 95.14 kB / 0.6889 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.303, allocations: 39.17 kB / 0.689 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003063/1.306, allocations: 0.8415 MB / 0.6898 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.002e-06/1.306, allocations: 3.938 kB / 0.6898 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007763/1.314, allocations: 0.9783 MB / 0.6908 GB, free: 12.34 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (nakedTabs.C1[1].T,nakedTabs.C1[2].T,nakedTabs.C1[3].T,nakedTabs.C1[4].T,nakedTabs.C1[5].T,nakedTabs.C1[6].T,nakedTabs.C1[7].T,nakedTabs.C1[8].T,nakedTabs.C1[9].T,nakedTabs.C1[10].T,nakedTabs.C2[1].T,nakedTabs.C2[2].T,nakedTabs.C2[3].T,nakedTabs.C2[4].T,nakedTabs.C2[5].T,nakedTabs.C2[6].T,nakedTabs.C2[7].T,nakedTabs.C2[8].T,nakedTabs.C2[9].T,nakedTabs.C2[10].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0125/1.327, allocations: 3.942 MB / 0.6946 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.337, allocations: 3.115 MB / 0.6977 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.337, allocations: 0 / 0.6977 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.02022/1.357, allocations: 1.117 MB / 0.6988 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/1.362, allocations: 404.5 kB / 0.6991 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06943/1.431, allocations: 14.6 MB / 0.7134 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003311/1.435, allocations: 1.603 MB / 0.715 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005184/1.44, allocations: 0.7015 MB / 0.7156 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002599/1.443, allocations: 0.6008 MB / 0.7162 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of SimCode: time 2.295e-06/1.443, allocations: 0 / 0.7162 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/1.673, allocations: 39.38 MB / 0.7547 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001264/1.674, allocations: 237 kB / 0.7549 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.387/8.061, allocations: 3.75 kB / 0.7549 GB, free: 14.32 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_EmbeddedPipe.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.EmbeddedPipe.pipe 2>&1) Environment - environmentSimulation: