Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.0007609/0.0007609, 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.0007753/0.0007753, 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.8925/0.8925, allocations: 177.1 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.7154/0.7154, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.225e-05, allocations: 5.094 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3802/0.3802, allocations: 150.8 MB / 0.7653 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004705/0.3849, allocations: 4.032 MB / 0.7692 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006703/0.3856, allocations: 26.75 kB / 0.7693 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.3865, allocations: 339.5 kB / 0.7696 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.3887, allocations: 1.075 MB / 0.7706 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.3905, allocations: 0.848 MB / 0.7715 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.3922, allocations: 1.329 MB / 0.7728 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005334/0.3927, allocations: 372.9 kB / 0.7731 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.394, allocations: 0.895 MB / 0.774 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009189/0.3949, allocations: 424.4 kB / 0.7744 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.814e-05/0.395, allocations: 52.53 kB / 0.7744 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.3963, allocations: 0.7682 MB / 0.7752 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.3965, allocations: 223.9 kB / 0.7754 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.3967, allocations: 236.1 kB / 0.7756 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.3981, allocations: 1.178 MB / 0.7768 GB, free: 116 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3981, allocations: 0 / 0.7768 GB, free: 116 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3981, allocations: 0 / 0.7768 GB, free: 116 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.3981, allocations: 0 / 0.7768 GB, free: 116 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001396/0.3995, allocations: 0.8813 MB / 0.7776 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3996, allocations: 10.16 kB / 0.7777 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.196e-05/0.3997, allocations: 97.7 kB / 0.7777 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000892/0.4006, allocations: 258.7 kB / 0.778 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.4012, allocations: 435.4 kB / 0.7784 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.4013, allocations: 30.56 kB / 0.7784 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.4013, allocations: 46.22 kB / 0.7785 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.4022, allocations: 0.8906 MB / 0.7794 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4022, allocations: 0 / 0.7794 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.4023, allocations: 23.31 kB / 0.7794 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.4023, allocations: 25.42 kB / 0.7794 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.4031, allocations: 0.5462 MB / 0.7799 GB, free: 14.28 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.002419/0.4055, allocations: 1.899 MB / 0.7818 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.4061, allocations: 276.1 kB / 0.7821 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.4064, allocations: 164.1 kB / 0.7822 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.4064, allocations: 4.5 kB / 0.7822 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.4064, allocations: 41.88 kB / 0.7823 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.4064, allocations: 0 / 0.7823 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.00262/0.409, allocations: 1.005 MB / 0.7832 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.4091, allocations: 79.23 kB / 0.7833 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.4096, allocations: 0.5565 MB / 0.7839 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.4096, allocations: 32.11 kB / 0.7839 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.4098, allocations: 302.8 kB / 0.7842 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.4098, allocations: 58.72 kB / 0.7842 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.4099, allocations: 56.67 kB / 0.7843 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.41, allocations: 362.6 kB / 0.7846 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.4103, allocations: 187.6 kB / 0.7848 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.4107, allocations: 300.5 kB / 0.7851 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005759/0.4112, allocations: 404.9 kB / 0.7855 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4112, allocations: 2.062 kB / 0.7855 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001317/0.4126, allocations: 0.7288 MB / 0.7862 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.4126, allocations: 6.438 kB / 0.7862 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4126, allocations: 2.844 kB / 0.7862 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/0.413, allocations: 178.6 kB / 0.7864 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.4132, allocations: 76.48 kB / 0.7864 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.4154, allocations: 2.095 MB / 0.7885 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.4158, allocations: 80.83 kB / 0.7886 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.4158, allocations: 13.25 kB / 0.7886 GB, free: 9.449 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.416, allocations: 193.4 kB / 0.7888 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.4161, allocations: 49.47 kB / 0.7888 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.4162, allocations: 55.31 kB / 0.7889 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4162, allocations: 5.062 kB / 0.7889 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4162, allocations: 0 / 0.7889 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4162, allocations: 5.312 kB / 0.7889 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.4177, allocations: 1.031 MB / 0.7899 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4177, allocations: 0 / 0.7899 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4178, allocations: 43.98 kB / 0.7899 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.4181, allocations: 183.7 kB / 0.7901 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.4181, allocations: 10.69 kB / 0.7901 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.4199, allocations: 2.056 MB / 0.7921 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.42, allocations: 8.359 kB / 0.7921 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.4211, allocations: 0.6977 MB / 0.7928 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.4213, allocations: 84.34 kB / 0.7929 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.4214, allocations: 9.344 kB / 0.7929 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.4216, allocations: 42.52 kB / 0.7929 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.4217, allocations: 24.2 kB / 0.793 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.4217, allocations: 11.45 kB / 0.793 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00032/0.422, allocations: 395 kB / 0.7933 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.422, allocations: 0 / 0.7933 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005026/0.4225, allocations: 186.1 kB / 0.7935 GB, free: 6.617 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/0.424, allocations: 1.31 MB / 0.7948 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008507/0.4249, allocations: 0.5056 MB / 0.7953 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4249, allocations: 6.344 kB / 0.7953 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.4252, allocations: 302 kB / 0.7956 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.4261, allocations: 316.6 kB / 0.7959 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006204/0.4323, allocations: 5.051 MB / 0.8008 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.4324, allocations: 265 kB / 0.8011 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.4328, allocations: 103.2 kB / 0.8012 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.4329, allocations: 162.8 kB / 0.8013 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/0.4329, allocations: 0 / 0.8013 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.47, allocations: 18.36 MB / 0.8193 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.572, allocations: 4.188 kB / 0.8193 GB, free: 5.43 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.193013944663107] Failed to read output from testmodel.py, exit status != 0: 8.667032067663968 8.675970781 8.275980821 Calling exit ...