Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.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: translateModel(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample") translateModel(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000879/0.0008791, allocations: 100.2 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.0008488/0.0008488, 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 1.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8725/0.8725, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 8 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample): time 0.2517/0.3896, allocations: 26.22 MB / 0.6128 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007903/0.3976, allocations: 7.409 MB / 0.62 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009039/0.3985, allocations: 39.31 kB / 0.6201 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3996, allocations: 447.8 kB / 0.6205 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.4026, allocations: 1.365 MB / 0.6218 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.4053, allocations: 1.177 MB / 0.623 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.4077, allocations: 2.106 MB / 0.625 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009821/0.4087, allocations: 1.053 MB / 0.6261 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.4099, allocations: 0.9643 MB / 0.627 GB, free: 32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.4106, allocations: 0.6849 MB / 0.6277 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.4107, allocations: 52.06 kB / 0.6277 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.4122, allocations: 0.8359 MB / 0.6285 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.4124, allocations: 243.9 kB / 0.6288 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.4127, allocations: 298.9 kB / 0.6291 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.414, allocations: 1.84 MB / 0.6309 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.414, allocations: 0 / 0.6309 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.414, allocations: 7.938 kB / 0.6309 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.414, allocations: 0 / 0.6309 GB, free: 30.93 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002432/0.4164, allocations: 1.65 MB / 0.6325 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.4165, allocations: 11.34 kB / 0.6325 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.4168, allocations: 159.7 kB / 0.6326 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.4187, allocations: 1.245 MB / 0.6339 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.4187, allocations: 67.95 kB / 0.6339 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4189, allocations: 87.03 kB / 0.634 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4203, allocations: 1.18 MB / 0.6352 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4204, allocations: 4 kB / 0.6352 GB, free: 28.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.4204, allocations: 41 kB / 0.6352 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.4205, allocations: 33.88 kB / 0.6352 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.4218, allocations: 0.9326 MB / 0.6361 GB, free: 28.27 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.00427/0.4261, allocations: 5.182 MB / 0.6412 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.4275, allocations: 0.7265 MB / 0.6419 GB, free: 24.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000846/0.4283, allocations: 1.421 MB / 0.6433 GB, free: 22.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006015/0.4289, allocations: 417.7 kB / 0.6437 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 2.615e-06/0.429, allocations: 0 / 0.6437 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.002084/0.431, allocations: 1.237 MB / 0.6449 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4311, allocations: 68.03 kB / 0.645 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.4321, allocations: 1.09 MB / 0.646 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.4322, allocations: 38.95 kB / 0.6461 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.4325, allocations: 0.5574 MB / 0.6466 GB, free: 21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.4326, allocations: 201.8 kB / 0.6468 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.4326, allocations: 11.12 kB / 0.6468 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.4327, allocations: 330.6 kB / 0.6471 GB, free: 20.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.4331, allocations: 287.1 kB / 0.6474 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.4337, allocations: 440.6 kB / 0.6478 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.4342, allocations: 399.5 kB / 0.6482 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4342, allocations: 0 / 0.6482 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001518/0.4357, allocations: 0.9677 MB / 0.6492 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000254/0.436, allocations: 1.513 MB / 0.6506 GB, free: 18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.436, allocations: 7.234 kB / 0.6506 GB, free: 18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.4363, allocations: 71.94 kB / 0.6507 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.4369, allocations: 160 kB / 0.6509 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.4386, allocations: 2.914 MB / 0.6537 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/0.4395, allocations: 133.7 kB / 0.6538 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.4395, allocations: 33.11 kB / 0.6539 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.4396, allocations: 4.094 kB / 0.6539 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/0.441, allocations: 0.8533 MB / 0.6547 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4411, allocations: 8.75 kB / 0.6547 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.4413, allocations: 75.88 kB / 0.6548 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000542/0.4418, allocations: 150.2 kB / 0.6549 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.4434, allocations: 2.915 MB / 0.6578 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/0.4442, allocations: 133 kB / 0.6579 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.4443, allocations: 32.72 kB / 0.6579 GB, free: 11.91 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: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 1 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006437/0.445, allocations: 0.4912 MB / 0.6584 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.4451, allocations: 110.1 kB / 0.6585 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.4469, allocations: 0.974 MB / 0.6595 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4469, allocations: 7.141 kB / 0.6595 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4469, allocations: 1.609 kB / 0.6595 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/0.4482, allocations: 0.8233 MB / 0.6603 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.4514, allocations: 2.164 MB / 0.6624 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4514, allocations: 1.156 kB / 0.6624 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.4519, allocations: 115.8 kB / 0.6625 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.4521, allocations: 58.62 kB / 0.6626 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.4521, allocations: 16.92 kB / 0.6626 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.454, allocations: 2.752 MB / 0.6653 GB, free: 23.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.454, allocations: 5.172 kB / 0.6653 GB, free: 23.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.456, allocations: 1.395 MB / 0.6666 GB, free: 22.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.4566, allocations: 322.1 kB / 0.6669 GB, free: 22.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4567, allocations: 17.62 kB / 0.667 GB, free: 22.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/0.4575, allocations: 104.2 kB / 0.6671 GB, free: 22.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.4576, allocations: 61.14 kB / 0.6671 GB, free: 22.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.4577, allocations: 27.44 kB / 0.6671 GB, free: 22.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009752/0.4586, allocations: 0.7754 MB / 0.6679 GB, free: 21.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4586, allocations: 0 / 0.6679 GB, free: 21.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001637/0.4603, allocations: 0.6908 MB / 0.6686 GB, free: 21.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (embeddedPipe.vol[1].dynBal.U,embeddedPipe.vol[2].dynBal.U,senTem.T) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006995/0.461, allocations: 422.6 kB / 0.669 GB, free: 21.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.4634, allocations: 1.689 MB / 0.6706 GB, free: 20.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4634, allocations: 1.875 kB / 0.6706 GB, free: 20.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007635/0.4642, allocations: 0.6021 MB / 0.6712 GB, free: 20.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.4663, allocations: 0.5184 MB / 0.6717 GB, free: 20.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.4702, allocations: 2.971 MB / 0.6746 GB, free: 18.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009143/0.4711, allocations: 1.333 MB / 0.6759 GB, free: 17.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001202/0.4724, allocations: 393.5 kB / 0.6763 GB, free: 17.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.4726, allocations: 92.83 kB / 0.6764 GB, free: 17.53 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.4726, allocations: 1.188 kB / 0.6764 GB, free: 17.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.03695/0.5095, allocations: 23.9 MB / 0.6997 GB, free: 7.141 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe 2>&1) Environment - environmentSimulation: