Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_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.001514/0.001514, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001825/0.001825, allocations: 198.1 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.268/2.268, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9559/0.9559, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 63.5 kB / 0.505 GB, free: 5.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2115, allocations: 80.94 MB / 0.584 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4446/0.6561, allocations: 168.7 MB / 0.7488 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005475/0.6617, allocations: 4.263 MB / 0.7529 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004174/0.6621, allocations: 21.28 kB / 0.753 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.6629, allocations: 309.3 kB / 0.7533 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.6652, allocations: 1.151 MB / 0.7544 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.6669, allocations: 0.7286 MB / 0.7551 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.6685, allocations: 1.69 MB / 0.7567 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006246/0.6691, allocations: 0.5465 MB / 0.7573 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.6702, allocations: 0.6888 MB / 0.7579 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.6712, allocations: 0.5884 MB / 0.7585 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.322e-05/0.6713, allocations: 67.94 kB / 0.7586 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.6725, allocations: 0.8417 MB / 0.7594 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.6727, allocations: 275.3 kB / 0.7597 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.6731, allocations: 410.2 kB / 0.7601 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.6743, allocations: 1.305 MB / 0.7613 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6743, allocations: 7.938 kB / 0.7613 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6743, allocations: 0 / 0.7613 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.6744, allocations: 0 / 0.7613 GB, free: 7.609 MB / 0.5762 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.00157/0.6759, allocations: 1.04 MB / 0.7624 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.676, allocations: 15.97 kB / 0.7624 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.6761, allocations: 94.52 kB / 0.7625 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009055/0.677, allocations: 167.5 kB / 0.7626 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.6777, allocations: 0.521 MB / 0.7631 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.6777, allocations: 37.31 kB / 0.7632 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.6778, allocations: 56 kB / 0.7632 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009865/0.6788, allocations: 0.6557 MB / 0.7639 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6788, allocations: 0 / 0.7639 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.6789, allocations: 27.98 kB / 0.7639 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.6789, allocations: 24.62 kB / 0.7639 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.6797, allocations: 0.5126 MB / 0.7644 GB, free: 4.359 MB / 0.5762 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.002856/0.6826, allocations: 2.297 MB / 0.7667 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.6831, allocations: 266.7 kB / 0.7669 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.6833, allocations: 132.8 kB / 0.767 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.6834, allocations: 0 / 0.767 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.6834, allocations: 38.56 kB / 0.7671 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.022e-06/0.6834, allocations: 4 kB / 0.7671 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001507/0.6849, allocations: 0.6708 MB / 0.7677 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.685, allocations: 85.09 kB / 0.7678 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.6855, allocations: 0.5651 MB / 0.7684 GB, free: 40 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.6856, allocations: 37.72 kB / 0.7684 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.6858, allocations: 339.3 kB / 0.7687 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.6859, allocations: 67 kB / 0.7688 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.686, allocations: 69.94 kB / 0.7689 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6861, allocations: 358.8 kB / 0.7692 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.6864, allocations: 128.6 kB / 0.7693 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.6866, allocations: 219.5 kB / 0.7695 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.6871, allocations: 334 kB / 0.7698 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6871, allocations: 0 / 0.7698 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008324/0.688, allocations: 0.4948 MB / 0.7703 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.688, allocations: 12 kB / 0.7703 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.688, allocations: 0 / 0.7703 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.6883, allocations: 97.64 kB / 0.7704 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.6886, allocations: 75.78 kB / 0.7705 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04845/0.7371, allocations: 3.353 MB / 0.7738 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.7383, allocations: 59.36 kB / 0.7738 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.7384, allocations: 23.62 kB / 0.7739 GB, free: 10.02 MB / 0.5919 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.000506/0.739, allocations: 214.4 kB / 0.7741 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.7391, allocations: 59.33 kB / 0.7741 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.7393, allocations: 52.52 kB / 0.7742 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.7393, allocations: 7.875 kB / 0.7742 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7393, allocations: 0 / 0.7742 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.7404, allocations: 0.537 MB / 0.7747 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.7421, allocations: 0.9164 MB / 0.7756 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.7421, allocations: 3.984 kB / 0.7756 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.7424, allocations: 40.05 kB / 0.7756 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/0.7428, allocations: 64.8 kB / 0.7757 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.7428, allocations: 8 kB / 0.7757 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/0.7455, allocations: 1.817 MB / 0.7775 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7455, allocations: 0 / 0.7775 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.7466, allocations: 438 kB / 0.7779 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.747, allocations: 172.3 kB / 0.7781 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.7471, allocations: 4 kB / 0.7781 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000817/0.748, allocations: 36.75 kB / 0.7781 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.7481, allocations: 19.97 kB / 0.7781 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.7482, allocations: 15.98 kB / 0.7781 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008004/0.749, allocations: 394.8 kB / 0.7785 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.91e-07/0.749, allocations: 0 / 0.7785 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001208/0.7502, allocations: 215.6 kB / 0.7787 GB, free: 4.719 MB / 0.5919 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.001838/0.7521, allocations: 1.039 MB / 0.7797 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.7537, allocations: 0.5483 MB / 0.7803 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7537, allocations: 0 / 0.7803 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.7543, allocations: 261.3 kB / 0.7805 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/0.7574, allocations: 364.7 kB / 0.7809 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.7692, allocations: 4.725 MB / 0.7855 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/0.77, allocations: 0.9054 MB / 0.7864 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001004/0.771, allocations: 116.8 kB / 0.7865 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004343/0.7715, allocations: 199.3 kB / 0.7867 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.7715, allocations: 0 / 0.7867 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.657/1.428, allocations: 17.42 MB / 0.8037 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004453/1.429, allocations: 291.6 kB / 0.804 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.528, allocations: 0 / 0.804 GB, free: 10.96 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)