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.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.0007462/0.0007462, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007888/0.0007888, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8861/0.8861, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7049/0.7049, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.046e-05, allocations: 5.562 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.394/0.394, allocations: 150.9 MB / 0.7654 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003869/0.3979, allocations: 4.036 MB / 0.7693 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.3982, allocations: 30.31 kB / 0.7693 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.3989, allocations: 335 kB / 0.7696 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.4006, allocations: 1.321 MB / 0.7709 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.4017, allocations: 0.831 MB / 0.7718 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.4029, allocations: 1.757 MB / 0.7735 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004523/0.4034, allocations: 442.1 kB / 0.7739 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009701/0.4044, allocations: 0.9938 MB / 0.7749 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008132/0.4052, allocations: 0.5227 MB / 0.7754 GB, free: 460 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.4053, allocations: 64.44 kB / 0.7754 GB, free: 460 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.4061, allocations: 0.6635 MB / 0.7761 GB, free: 224 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.4063, allocations: 301 kB / 0.7764 GB, free: 76 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.4066, allocations: 289.1 kB / 0.7766 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.4077, allocations: 1.299 MB / 0.7779 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4077, allocations: 8 kB / 0.7779 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4077, allocations: 0 / 0.7779 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.4078, allocations: 1.125 kB / 0.7779 GB, free: 15.51 MB / 0.6511 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.001328/0.4091, allocations: 0.9727 MB / 0.7789 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4091, allocations: 10.78 kB / 0.7789 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.4092, allocations: 100.6 kB / 0.779 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005978/0.4098, allocations: 162.3 kB / 0.7791 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.4105, allocations: 488 kB / 0.7796 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.4105, allocations: 43.16 kB / 0.7796 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.4106, allocations: 57.69 kB / 0.7797 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.4115, allocations: 1.003 MB / 0.7807 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4115, allocations: 1.094 kB / 0.7807 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/0.4115, allocations: 22.5 kB / 0.7807 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.4116, allocations: 32.47 kB / 0.7807 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.4122, allocations: 0.5006 MB / 0.7812 GB, free: 13.5 MB / 0.6511 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.002166/0.4144, allocations: 1.667 MB / 0.7828 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.4148, allocations: 242.2 kB / 0.7831 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4149, allocations: 124.8 kB / 0.7832 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.415, allocations: 6.75 kB / 0.7832 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.415, allocations: 39.81 kB / 0.7832 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.415, allocations: 0 / 0.7832 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.001009/0.416, allocations: 0.5241 MB / 0.7837 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.416, allocations: 83.95 kB / 0.7838 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.4165, allocations: 0.5587 MB / 0.7844 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.4165, allocations: 32.58 kB / 0.7844 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.4167, allocations: 341.4 kB / 0.7847 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.4168, allocations: 68.16 kB / 0.7848 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.4168, allocations: 69.11 kB / 0.7849 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4169, allocations: 358.8 kB / 0.7852 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.4171, allocations: 128.9 kB / 0.7853 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.4173, allocations: 255.3 kB / 0.7856 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.4177, allocations: 331.7 kB / 0.7859 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4177, allocations: 10.17 kB / 0.7859 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005927/0.4183, allocations: 0.4899 MB / 0.7864 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4183, allocations: 5.781 kB / 0.7864 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4183, allocations: 11.08 kB / 0.7864 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.4185, allocations: 90.88 kB / 0.7865 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.4187, allocations: 71.7 kB / 0.7865 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.4206, allocations: 3.119 MB / 0.7896 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.4209, allocations: 53.55 kB / 0.7896 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4209, allocations: 14.44 kB / 0.7897 GB, free: 7.637 MB / 0.6511 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.000183/0.4211, allocations: 217.7 kB / 0.7899 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.4212, allocations: 56.89 kB / 0.7899 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.4212, allocations: 59.31 kB / 0.79 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4212, allocations: 1.969 kB / 0.79 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.4212, allocations: 0 / 0.79 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004509/0.4217, allocations: 0.5353 MB / 0.7905 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.4224, allocations: 0.8221 MB / 0.7913 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4224, allocations: 0 / 0.7913 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.4226, allocations: 47.91 kB / 0.7913 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.4227, allocations: 63.8 kB / 0.7914 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4227, allocations: 4 kB / 0.7914 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009877/0.4237, allocations: 1.711 MB / 0.7931 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4237, allocations: 3.938 kB / 0.7931 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.424, allocations: 431.5 kB / 0.7935 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.4242, allocations: 93.69 kB / 0.7936 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.4242, allocations: 5.422 kB / 0.7936 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4244, allocations: 20.38 kB / 0.7936 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.4245, allocations: 28.84 kB / 0.7936 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.4245, allocations: 15.34 kB / 0.7937 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000332/0.4248, allocations: 397.9 kB / 0.794 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4248, allocations: 0 / 0.794 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004134/0.4252, allocations: 207.7 kB / 0.7942 GB, free: 4.477 MB / 0.6511 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.0006608/0.4259, allocations: 1.014 MB / 0.7952 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.4264, allocations: 0.5224 MB / 0.7957 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4264, allocations: 6.75 kB / 0.7957 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.4266, allocations: 241.8 kB / 0.796 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.4275, allocations: 376.1 kB / 0.7963 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.4313, allocations: 4.453 MB / 0.8007 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.4315, allocations: 305.3 kB / 0.801 GB, free: 472 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002533/0.4318, allocations: 115.6 kB / 0.8011 GB, free: 436 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.4319, allocations: 196.4 kB / 0.8013 GB, free: 288 kB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/0.4319, allocations: 3.938 kB / 0.8013 GB, free: 284 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.4605, allocations: 19.56 MB / 0.8204 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.653, allocations: 13.52 kB / 0.8204 GB, free: 4.141 MB / 0.6667 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.385629645548761] Failed to read output from testmodel.py, exit status != 0: 8.757848389446735 8.768216159 8.358563934 Calling exit ...