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.0007892/0.0007892, 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.000898/0.000898, 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.8803/0.8803, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6972/0.6972, allocations: 154.6 MB / 413.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6181 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.386e-06/9.719e-06, allocations: 4.672 kB / 0.6181 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3835/0.3835, allocations: 150.9 MB / 0.7654 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.3877, allocations: 4.045 MB / 0.7694 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.3883, allocations: 31.75 kB / 0.7694 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009173/0.3892, allocations: 333.8 kB / 0.7697 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.3914, allocations: 1.317 MB / 0.771 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3929, allocations: 0.8379 MB / 0.7718 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001742/0.3946, allocations: 1.753 MB / 0.7735 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.3953, allocations: 444.3 kB / 0.774 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.3967, allocations: 0.9893 MB / 0.7749 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.3978, allocations: 0.5144 MB / 0.7754 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3979, allocations: 72 kB / 0.7755 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.399, allocations: 0.6738 MB / 0.7762 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.3992, allocations: 291.1 kB / 0.7764 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.3995, allocations: 299.4 kB / 0.7767 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.4009, allocations: 1.293 MB / 0.778 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4009, allocations: 0 / 0.778 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4009, allocations: 0 / 0.778 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.401, allocations: 0 / 0.778 GB, free: 12.84 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.001476/0.4024, allocations: 0.9779 MB / 0.7789 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4025, allocations: 11.97 kB / 0.7789 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.847e-05/0.4026, allocations: 94.52 kB / 0.779 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/0.4032, allocations: 176.9 kB / 0.7792 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.4038, allocations: 482.8 kB / 0.7797 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.4039, allocations: 41.31 kB / 0.7797 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.4039, allocations: 55.94 kB / 0.7798 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.4048, allocations: 0.9954 MB / 0.7807 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4048, allocations: 7.984 kB / 0.7807 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.4049, allocations: 24 kB / 0.7808 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.4049, allocations: 25.31 kB / 0.7808 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.4055, allocations: 0.5125 MB / 0.7813 GB, free: 9.289 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.002124/0.4076, allocations: 1.668 MB / 0.7829 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.408, allocations: 241.9 kB / 0.7831 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.4081, allocations: 124.8 kB / 0.7833 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4081, allocations: 0 / 0.7833 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.4082, allocations: 38.56 kB / 0.7833 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.4082, allocations: 0 / 0.7833 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.001059/0.4092, allocations: 0.5224 MB / 0.7838 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.4093, allocations: 86.45 kB / 0.7839 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005461/0.4098, allocations: 0.5652 MB / 0.7844 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4099, allocations: 29.7 kB / 0.7845 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.4101, allocations: 343.7 kB / 0.7848 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.4101, allocations: 71.42 kB / 0.7849 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.4102, allocations: 73.98 kB / 0.7849 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4103, allocations: 358.8 kB / 0.7853 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4105, allocations: 128.6 kB / 0.7854 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.4107, allocations: 245.3 kB / 0.7856 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.411, allocations: 333.4 kB / 0.786 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.411, allocations: 0 / 0.786 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006073/0.4116, allocations: 0.4953 MB / 0.7864 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4116, allocations: 4 kB / 0.7864 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.4116, allocations: 4 kB / 0.7864 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.4119, allocations: 97.64 kB / 0.7865 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.412, allocations: 71.94 kB / 0.7866 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.4142, allocations: 3.125 MB / 0.7897 GB, free: 272 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.4145, allocations: 51.55 kB / 0.7897 GB, free: 220 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4145, allocations: 18.81 kB / 0.7897 GB, free: 204 kB / 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.0002753/0.4148, allocations: 217.7 kB / 0.7899 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.4149, allocations: 55.67 kB / 0.79 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.4149, allocations: 56.39 kB / 0.79 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4149, allocations: 0 / 0.79 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4149, allocations: 0 / 0.79 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004829/0.4154, allocations: 0.5397 MB / 0.7906 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.4163, allocations: 0.8198 MB / 0.7914 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4163, allocations: 0 / 0.7914 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.4164, allocations: 35.98 kB / 0.7914 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.4166, allocations: 72.86 kB / 0.7915 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4166, allocations: 4 kB / 0.7915 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.4177, allocations: 1.702 MB / 0.7931 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4177, allocations: 7.969 kB / 0.7931 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.4182, allocations: 443.8 kB / 0.7936 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.4183, allocations: 87.56 kB / 0.7937 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.4184, allocations: 8 kB / 0.7937 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.4186, allocations: 21.66 kB / 0.7937 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.4187, allocations: 19.91 kB / 0.7937 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.4187, allocations: 15.98 kB / 0.7937 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003372/0.419, allocations: 398.8 kB / 0.7941 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.419, allocations: 0 / 0.7941 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000508/0.4195, allocations: 211.7 kB / 0.7943 GB, free: 11.24 MB / 0.6667 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.000776/0.4203, allocations: 1.015 MB / 0.7953 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006605/0.421, allocations: 0.5248 MB / 0.7958 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.421, allocations: 0 / 0.7958 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.4212, allocations: 252.7 kB / 0.796 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4222, allocations: 377.2 kB / 0.7964 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.4266, allocations: 4.443 MB / 0.8007 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4268, allocations: 314.7 kB / 0.801 GB, free: 4.078 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003399/0.4271, allocations: 108.8 kB / 0.8011 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.4273, allocations: 192.4 kB / 0.8013 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of SimCode: time 1.202e-06/0.4273, allocations: 0 / 0.8013 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.4588, allocations: 19.56 MB / 0.8204 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.458, allocations: 3.812 kB / 0.8204 GB, free: 0.7617 MB / 0.6823 GB " [Timeout remaining time 651] (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 sys.exit(0), Time elapsed: 10.988511350005865] Failed to read output from testmodel.py, exit status != 0: 8.556092304177582 8.565429426 8.162724381 Calling exit ...