Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001534/0.001534, allocations: 99.94 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.002333/0.002333, allocations: 177.3 kB / 15.95 MB, free: 216 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.304/2.304, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.055/1.055, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005605/0.0005611, allocations: 8 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7076, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2733/0.9809, allocations: 143.1 MB / 0.7227 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008274/0.9892, allocations: 4.132 MB / 0.7267 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.9903, allocations: 15.94 kB / 0.7267 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.9916, allocations: 318.5 kB / 0.727 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.9952, allocations: 1.001 MB / 0.728 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.9982, allocations: 0.7793 MB / 0.7288 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002571/1.001, allocations: 0.9605 MB / 0.7297 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008361/1.002, allocations: 424.7 kB / 0.7301 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/1.003, allocations: 0.5411 MB / 0.7307 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/1.004, allocations: 358.7 kB / 0.731 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/1.004, allocations: 28 kB / 0.731 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/1.005, allocations: 351.4 kB / 0.7314 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/1.005, allocations: 207.5 kB / 0.7316 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/1.005, allocations: 169.3 kB / 0.7317 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/1.007, allocations: 0.8377 MB / 0.7325 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/1.007, allocations: 3.938 kB / 0.7325 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/1.007, allocations: 0 / 0.7325 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.007, allocations: 0 / 0.7325 GB, free: 7.059 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002111/1.009, allocations: 0.9016 MB / 0.7334 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.009, allocations: 8.031 kB / 0.7334 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/1.009, allocations: 94.52 kB / 0.7335 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/1.01, allocations: 167 kB / 0.7337 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.011, allocations: 0.5096 MB / 0.7342 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/1.011, allocations: 49.31 kB / 0.7342 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.314e-05/1.011, allocations: 48 kB / 0.7343 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/1.012, allocations: 0.6401 MB / 0.7349 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.013, allocations: 0 / 0.7349 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/1.013, allocations: 31.94 kB / 0.7349 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-05/1.013, allocations: 29.27 kB / 0.7349 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/1.014, allocations: 0.5165 MB / 0.7355 GB, free: 3.957 MB / 0.5606 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.004127/1.018, allocations: 2.305 MB / 0.7377 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/1.019, allocations: 267 kB / 0.738 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/1.019, allocations: 3.953 kB / 0.738 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.019, allocations: 38.56 kB / 0.738 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/1.019, allocations: 0 / 0.738 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001937/1.021, allocations: 0.6897 MB / 0.7387 GB, free: 436 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/1.021, allocations: 81.11 kB / 0.7387 GB, free: 336 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/1.022, allocations: 0.5535 MB / 0.7393 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/1.022, allocations: 25.7 kB / 0.7393 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/1.022, allocations: 339.4 kB / 0.7396 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/1.022, allocations: 74.98 kB / 0.7397 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/1.022, allocations: 8 kB / 0.7397 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.022, allocations: 362.7 kB / 0.7401 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/1.022, allocations: 136.5 kB / 0.7402 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/1.023, allocations: 228.1 kB / 0.7404 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/1.023, allocations: 167.9 kB / 0.7406 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.023, allocations: 0 / 0.7406 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001087/1.024, allocations: 0.5 MB / 0.7411 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.024, allocations: 12 kB / 0.7411 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.024, allocations: 0 / 0.7411 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/1.025, allocations: 101.6 kB / 0.7412 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/1.025, allocations: 71.86 kB / 0.7412 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/1.029, allocations: 3.151 MB / 0.7443 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/1.03, allocations: 71.42 kB / 0.7444 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/1.03, allocations: 12 kB / 0.7444 GB, free: 10.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004514/1.03, allocations: 214.5 kB / 0.7446 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/1.03, allocations: 55.44 kB / 0.7447 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/1.03, allocations: 64.45 kB / 0.7447 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.03, allocations: 0 / 0.7447 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.03, allocations: 0 / 0.7447 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009103/1.031, allocations: 0.5443 MB / 0.7452 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/1.033, allocations: 0.9202 MB / 0.7461 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.033, allocations: 4.062 kB / 0.7461 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/1.033, allocations: 51.91 kB / 0.7462 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002251/1.033, allocations: 68.8 kB / 0.7463 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/1.033, allocations: 4 kB / 0.7463 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/1.036, allocations: 1.71 MB / 0.7479 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.036, allocations: 0 / 0.7479 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/1.036, allocations: 468.8 kB / 0.7484 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/1.037, allocations: 172.3 kB / 0.7485 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/1.037, allocations: 11.92 kB / 0.7486 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/1.037, allocations: 24.64 kB / 0.7486 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/1.037, allocations: 27.97 kB / 0.7486 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/1.038, allocations: 16.36 kB / 0.7486 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005736/1.038, allocations: 402.7 kB / 0.749 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.038, allocations: 0 / 0.749 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008319/1.039, allocations: 207.6 kB / 0.7492 GB, free: 4.934 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/1.041, allocations: 1.201 MB / 0.7504 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.042, allocations: 0.5406 MB / 0.7509 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.042, allocations: 0 / 0.7509 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004023/1.042, allocations: 258.5 kB / 0.7512 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.044, allocations: 351.2 kB / 0.7515 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006545/1.051, allocations: 4.466 MB / 0.7558 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/1.052, allocations: 0.9249 MB / 0.7568 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006404/1.052, allocations: 112.8 kB / 0.7569 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/1.053, allocations: 191.4 kB / 0.757 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.053, allocations: 0 / 0.757 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/1.099, allocations: 17.07 MB / 0.7737 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/1.099, allocations: 253.6 kB / 0.774 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/4.338, allocations: 4 kB / 0.774 GB, free: 11.74 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: