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.008951/0.008951, allocations: 106.9 kB / 15.74 MB, free: 5.949 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.001779/0.001779, allocations: 189.2 kB / 16.67 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7534/0.7534, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 71.16 kB / 0.5808 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 80.22 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5321/0.6845, allocations: 171 MB / 0.8262 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007298/0.6918, allocations: 4.29 MB / 0.8304 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009809/0.6928, allocations: 23 kB / 0.8304 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.6943, allocations: 368.5 kB / 0.8308 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003819/0.6982, allocations: 1.259 MB / 0.832 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.7004, allocations: 0.7942 MB / 0.8328 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003061/0.7035, allocations: 1.7 MB / 0.8344 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.7047, allocations: 0.5542 MB / 0.835 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.7064, allocations: 0.7183 MB / 0.8357 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.7079, allocations: 0.5519 MB / 0.8362 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.7082, allocations: 65.72 kB / 0.8363 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.7102, allocations: 0.8122 MB / 0.8371 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.7106, allocations: 262 kB / 0.8373 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008072/0.7114, allocations: 410.6 kB / 0.8377 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.7135, allocations: 1.263 MB / 0.839 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7135, allocations: 0 / 0.839 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7136, allocations: 0 / 0.839 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.776e-05/0.7136, allocations: 0 / 0.839 GB, free: 9.902 MB / 0.6075 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.002274/0.7159, allocations: 1.036 MB / 0.84 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.7159, allocations: 11.59 kB / 0.84 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.7161, allocations: 107.9 kB / 0.8401 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.7171, allocations: 158.6 kB / 0.8402 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.718, allocations: 0.55 MB / 0.8408 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.718, allocations: 41.55 kB / 0.8408 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.7181, allocations: 55.19 kB / 0.8409 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.7191, allocations: 0.648 MB / 0.8415 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.7191, allocations: 0 / 0.8415 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.7192, allocations: 24.53 kB / 0.8415 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.7192, allocations: 25.83 kB / 0.8415 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.7201, allocations: 0.5134 MB / 0.842 GB, free: 7.75 MB / 0.6075 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.00301/0.7231, allocations: 2.294 MB / 0.8443 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.7236, allocations: 259.3 kB / 0.8445 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.7238, allocations: 141.2 kB / 0.8447 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.7239, allocations: 2.438 kB / 0.8447 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.7239, allocations: 36.78 kB / 0.8447 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.7239, allocations: 0 / 0.8447 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001566/0.7255, allocations: 0.673 MB / 0.8454 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.7255, allocations: 79.55 kB / 0.8454 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.7261, allocations: 0.5592 MB / 0.846 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.7262, allocations: 33.64 kB / 0.846 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.7264, allocations: 337.3 kB / 0.8463 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.7265, allocations: 69.19 kB / 0.8464 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.7266, allocations: 69.22 kB / 0.8465 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7267, allocations: 359.5 kB / 0.8468 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.727, allocations: 140.4 kB / 0.8469 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.7273, allocations: 220.1 kB / 0.8472 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.7278, allocations: 333.2 kB / 0.8475 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.7278, allocations: 2.719 kB / 0.8475 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008716/0.7287, allocations: 0.4975 MB / 0.848 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7287, allocations: 9.031 kB / 0.848 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7287, allocations: 0 / 0.848 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.729, allocations: 93.38 kB / 0.8481 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.7293, allocations: 78.77 kB / 0.8481 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.7322, allocations: 3.331 MB / 0.8514 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.7327, allocations: 53.92 kB / 0.8514 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.7327, allocations: 14.5 kB / 0.8514 GB, free: 15.86 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002665/0.733, allocations: 211.2 kB / 0.8516 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.7331, allocations: 55.16 kB / 0.8517 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.801e-05/0.7332, allocations: 65.91 kB / 0.8518 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7332, allocations: 2.656 kB / 0.8518 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7332, allocations: 0 / 0.8518 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000664/0.7339, allocations: 0.5288 MB / 0.8523 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.7351, allocations: 0.9226 MB / 0.8532 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7351, allocations: 0 / 0.8532 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.7354, allocations: 44.78 kB / 0.8532 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.7356, allocations: 65.27 kB / 0.8533 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.7356, allocations: 10.84 kB / 0.8533 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.7372, allocations: 1.819 MB / 0.8551 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7373, allocations: 192 / 0.8551 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.7379, allocations: 433.4 kB / 0.8555 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.7381, allocations: 180.3 kB / 0.8557 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.7382, allocations: 4 kB / 0.8557 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.7386, allocations: 19.98 kB / 0.8557 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.7387, allocations: 19.97 kB / 0.8557 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.7388, allocations: 15.98 kB / 0.8557 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004312/0.7392, allocations: 398.8 kB / 0.8561 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7392, allocations: 0 / 0.8561 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006196/0.7398, allocations: 207.7 kB / 0.8563 GB, free: 11.23 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.741, allocations: 1.039 MB / 0.8573 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008893/0.7419, allocations: 0.5287 MB / 0.8578 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7419, allocations: 0 / 0.8578 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.7423, allocations: 259.2 kB / 0.8581 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.7437, allocations: 369 kB / 0.8584 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.7496, allocations: 4.458 MB / 0.8628 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.7502, allocations: 0.9054 MB / 0.8637 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003933/0.7506, allocations: 108.8 kB / 0.8638 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.7509, allocations: 191.4 kB / 0.864 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.7509, allocations: 0 / 0.864 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04421/0.7951, allocations: 17.81 MB / 0.8813 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.82, allocations: 0.5938 kB / 0.8813 GB, free: 1.676 MB / 0.6387 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/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)