Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.736/0.736, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 92.17 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4.002e-05, allocations: 3.312 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.671/1.886, allocations: 412.1 MB / 1.043 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.886, allocations: 97.06 kB / 1.043 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.84/3.726, allocations: 392.8 MB / 1.427 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.763e-06/3.726, allocations: 0 / 1.427 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002926/3.727, allocations: 35.83 kB / 1.427 GB, free: 72.56 MB / 0.6823 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.004599/3.731, allocations: 1.533 MB / 1.428 GB, free: 70.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/3.731, allocations: 12.03 kB / 1.428 GB, free: 70.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005159/3.732, allocations: 135.2 kB / 1.428 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/3.733, allocations: 158.2 kB / 1.428 GB, free: 70.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/3.759, allocations: 10.56 MB / 1.439 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/3.76, allocations: 66 kB / 1.439 GB, free: 60.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/3.76, allocations: 88 kB / 1.439 GB, free: 60.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/3.763, allocations: 1.097 MB / 1.44 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.913e-05/3.763, allocations: 3.938 kB / 1.44 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/3.763, allocations: 36 kB / 1.44 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/3.763, allocations: 34 kB / 1.44 GB, free: 58.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/3.765, allocations: 0.8237 MB / 1.441 GB, free: 58.05 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.008111/3.773, allocations: 5.169 MB / 1.446 GB, free: 52.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/3.774, allocations: 0.6976 MB / 1.447 GB, free: 51.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/3.775, allocations: 324.3 kB / 1.447 GB, free: 51.51 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/3.776, allocations: 1.433 MB / 1.448 GB, free: 49.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000657/3.776, allocations: 387 kB / 1.449 GB, free: 49.37 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.877e-06/3.776, allocations: 0 / 1.449 GB, free: 49.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.001792/3.778, allocations: 0.7609 MB / 1.449 GB, free: 48.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/3.778, allocations: 55.97 kB / 1.449 GB, free: 48.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/3.78, allocations: 0.9107 MB / 1.45 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/3.78, allocations: 37.7 kB / 1.45 GB, free: 47.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/3.781, allocations: 0.562 MB / 1.451 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/3.781, allocations: 209 kB / 1.451 GB, free: 46.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/3.781, allocations: 15.94 kB / 1.451 GB, free: 46.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/3.781, allocations: 330 kB / 1.451 GB, free: 46.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/3.781, allocations: 261.5 kB / 1.452 GB, free: 46.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/3.782, allocations: 448.3 kB / 1.452 GB, free: 45.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/3.782, allocations: 376.7 kB / 1.453 GB, free: 45.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/3.782, allocations: 0 / 1.453 GB, free: 45.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001783/3.784, allocations: 0.9578 MB / 1.453 GB, free: 44.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004164/3.785, allocations: 1.691 MB / 1.455 GB, free: 42.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/3.785, allocations: 11.98 kB / 1.455 GB, free: 42.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/3.785, allocations: 125.6 kB / 1.455 GB, free: 42.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/3.786, allocations: 163.8 kB / 1.455 GB, free: 42.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002921/3.789, allocations: 3.215 MB / 1.459 GB, free: 38.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/3.79, allocations: 123.3 kB / 1.459 GB, free: 38.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/3.79, allocations: 32 kB / 1.459 GB, free: 38.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/3.79, allocations: 4 kB / 1.459 GB, free: 38.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001492/3.792, allocations: 0.8476 MB / 1.459 GB, free: 37.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/3.792, allocations: 4 kB / 1.46 GB, free: 37.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/3.792, allocations: 134.2 kB / 1.46 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/3.793, allocations: 155.8 kB / 1.46 GB, free: 37.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/3.796, allocations: 3.2 MB / 1.463 GB, free: 33.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/3.797, allocations: 127.2 kB / 1.463 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-05/3.797, allocations: 35.98 kB / 1.463 GB, free: 33.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003509/3.797, allocations: 146.7 kB / 1.463 GB, free: 33.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/3.798, allocations: 110.7 kB / 1.463 GB, free: 33.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/3.8, allocations: 0.9835 MB / 1.464 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/3.8, allocations: 8 kB / 1.464 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/3.8, allocations: 0 / 1.464 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/3.802, allocations: 0.8078 MB / 1.465 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/3.806, allocations: 2.119 MB / 1.467 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/3.806, allocations: 4.094 kB / 1.467 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/3.806, allocations: 123.8 kB / 1.467 GB, free: 29.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000363/3.807, allocations: 113.6 kB / 1.467 GB, free: 29.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/3.807, allocations: 20.06 kB / 1.467 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/3.809, allocations: 2.968 MB / 1.47 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/3.809, allocations: 12.14 kB / 1.47 GB, free: 25.94 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/3.812, allocations: 1.375 MB / 1.472 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008899/3.813, allocations: 295.5 kB / 1.472 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/3.813, allocations: 16 kB / 1.472 GB, free: 24.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/3.814, allocations: 95.75 kB / 1.472 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/3.814, allocations: 60.44 kB / 1.472 GB, free: 24.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/3.814, allocations: 27.98 kB / 1.472 GB, free: 24.01 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00132/3.816, allocations: 0.7146 MB / 1.473 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/3.816, allocations: 0 / 1.473 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002597/3.818, allocations: 0.6938 MB / 1.473 GB, free: 22.59 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 52 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003317/3.822, allocations: 2.547 MB / 1.476 GB, free: 20 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002291/3.824, allocations: 1.68 MB / 1.478 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/3.824, allocations: 4.125 kB / 1.478 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006568/3.825, allocations: 0.5823 MB / 1.478 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/3.827, allocations: 0.528 MB / 1.479 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/3.833, allocations: 2.356 MB / 1.481 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009351/3.834, allocations: 1.328 MB / 1.482 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002187/3.836, allocations: 0.6084 MB / 1.483 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006146/3.837, allocations: 443.3 kB / 1.483 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.444e-06/3.837, allocations: 0 / 1.483 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5758/4.412, allocations: 39.31 MB / 1.522 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/4.413, allocations: 229.3 kB / 1.522 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/7.91, allocations: 0 / 1.522 GB, free: 126.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_RadiantSlab_Examples_EmbeddedPipeExample.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.RadiantSlab.Examples.EmbeddedPipeExample.pipe 2>&1)