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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 216.7 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8093/0.8093, allocations: 134 MB / 447.2 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 61.34 kB / 0.6193 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1843, allocations: 85.91 MB / 0.7032 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5196/0.7039, allocations: 174.7 MB / 0.8738 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006964/0.7108, allocations: 4.336 MB / 0.8781 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.7115, allocations: 31.75 kB / 0.8781 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.7126, allocations: 369.9 kB / 0.8784 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.7158, allocations: 1.282 MB / 0.8797 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.7181, allocations: 0.8284 MB / 0.8805 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002648/0.7207, allocations: 1.731 MB / 0.8822 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000797/0.7215, allocations: 444.3 kB / 0.8826 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.7229, allocations: 0.724 MB / 0.8833 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.7245, allocations: 0.5964 MB / 0.8839 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.7246, allocations: 64 kB / 0.884 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.7264, allocations: 0.8652 MB / 0.8848 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.7267, allocations: 283.2 kB / 0.8851 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.7273, allocations: 406.3 kB / 0.8855 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.7295, allocations: 1.269 MB / 0.8867 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7295, allocations: 0 / 0.8867 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7295, allocations: 0 / 0.8867 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.625e-05/0.7295, allocations: 0 / 0.8867 GB, free: 10.66 MB / 0.6544 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.002259/0.7318, allocations: 0.9835 MB / 0.8877 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.7319, allocations: 11.97 kB / 0.8877 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.061e-05/0.7319, allocations: 14.19 kB / 0.8877 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.732, allocations: 102.5 kB / 0.8878 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.7331, allocations: 163.4 kB / 0.8879 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.7341, allocations: 494.7 kB / 0.8884 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.7341, allocations: 37.31 kB / 0.8885 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.7342, allocations: 56 kB / 0.8885 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.7354, allocations: 0.6518 MB / 0.8891 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.7355, allocations: 2 kB / 0.8891 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.7355, allocations: 20 kB / 0.8892 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/0.7356, allocations: 25.31 kB / 0.8892 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.7367, allocations: 0.5125 MB / 0.8897 GB, free: 7.527 MB / 0.6544 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.004256/0.7409, allocations: 2.262 MB / 0.8919 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.7415, allocations: 242.8 kB / 0.8921 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.7418, allocations: 123.5 kB / 0.8922 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.7418, allocations: 4 kB / 0.8922 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.7418, allocations: 42.5 kB / 0.8923 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.7418, allocations: 4 kB / 0.8923 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001838/0.7437, allocations: 0.5107 MB / 0.8928 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.7438, allocations: 89.05 kB / 0.8929 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.7446, allocations: 0.5574 MB / 0.8934 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.7446, allocations: 33.7 kB / 0.8935 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.7449, allocations: 344 kB / 0.8938 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.745, allocations: 71.42 kB / 0.8938 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.7452, allocations: 69.92 kB / 0.8939 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002665/0.7454, allocations: 362.8 kB / 0.8943 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.7457, allocations: 128.6 kB / 0.8944 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.7462, allocations: 215.5 kB / 0.8946 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.7468, allocations: 340.4 kB / 0.8949 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.7468, allocations: 3.984 kB / 0.8949 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001141/0.7479, allocations: 0.4888 MB / 0.8954 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.7479, allocations: 8 kB / 0.8954 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7479, allocations: 4 kB / 0.8954 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.7483, allocations: 101.6 kB / 0.8955 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.7486, allocations: 67.91 kB / 0.8956 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/0.7524, allocations: 3.138 MB / 0.8986 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.753, allocations: 51.56 kB / 0.8987 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.753, allocations: 15.98 kB / 0.8987 GB, free: 13.73 MB / 0.67 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.0004011/0.7534, allocations: 218.9 kB / 0.8989 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.7535, allocations: 59.61 kB / 0.899 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.7536, allocations: 60.31 kB / 0.899 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.7537, allocations: 8.938 kB / 0.899 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7537, allocations: 0 / 0.899 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008137/0.7545, allocations: 0.525 MB / 0.8995 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.7561, allocations: 0.8961 MB / 0.9004 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7561, allocations: 0 / 0.9004 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.7563, allocations: 35.98 kB / 0.9005 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.7565, allocations: 69.78 kB / 0.9005 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.7565, allocations: 8 kB / 0.9005 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.7586, allocations: 1.722 MB / 0.9022 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7586, allocations: 0 / 0.9022 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/0.7594, allocations: 441.5 kB / 0.9026 GB, free: 9.438 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.7597, allocations: 95.55 kB / 0.9027 GB, free: 9.344 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.7598, allocations: 8.062 kB / 0.9027 GB, free: 9.336 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.7602, allocations: 17.67 kB / 0.9027 GB, free: 9.32 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.7603, allocations: 23.95 kB / 0.9028 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.85e-05/0.7604, allocations: 15.98 kB / 0.9028 GB, free: 9.281 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005218/0.7609, allocations: 394.8 kB / 0.9032 GB, free: 8.898 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.7609, allocations: 0 / 0.9032 GB, free: 8.898 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007488/0.7617, allocations: 207.7 kB / 0.9034 GB, free: 8.695 MB / 0.67 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.001446/0.7631, allocations: 1.014 MB / 0.9043 GB, free: 7.648 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.7642, allocations: 0.5246 MB / 0.9049 GB, free: 7.098 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7642, allocations: 0 / 0.9049 GB, free: 7.098 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.7646, allocations: 254.5 kB / 0.9051 GB, free: 6.836 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.7664, allocations: 376 kB / 0.9055 GB, free: 6.484 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/0.7738, allocations: 4.473 MB / 0.9098 GB, free: 1.863 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/0.7745, allocations: 0.9135 MB / 0.9107 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004912/0.775, allocations: 108.8 kB / 0.9108 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.7753, allocations: 191.4 kB / 0.911 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/0.7753, allocations: 0 / 0.911 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05362/0.8289, allocations: 18.22 MB / 0.9288 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.46, allocations: 10.17 kB / 0.9288 GB, free: 14.71 MB / 0.7012 GB " [Timeout remaining time 645] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.043236867990345] Failed to read output from testmodel.py, exit status != 0: 14.642182320007123 14.671003437 13.935750541 Calling exit ...