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.0007331/0.0007331, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007955/0.0007955, allocations: 219.2 kB / 22.26 MB, free: 3.84 MB / 13.93 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.9075/0.9075, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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.7961/0.7961, allocations: 203.8 MB / 0.5042 GB, free: 10.65 MB / 410.7 MB " [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: 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.001015/0.001015, allocations: 70.45 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5134/0.5144, allocations: 102 MB / 0.8178 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1558/0.6702, allocations: 174.7 MB / 0.9885 GB, free: 6.711 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005682/0.6759, allocations: 4.332 MB / 0.9927 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.6766, allocations: 31.75 kB / 0.9927 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.6777, allocations: 362 kB / 0.9931 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/0.6799, allocations: 1.05 MB / 0.9941 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.6817, allocations: 0.8376 MB / 0.9949 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.6837, allocations: 1.309 MB / 0.9962 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005898/0.6843, allocations: 386.2 kB / 0.9966 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.6856, allocations: 0.7435 MB / 0.9973 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.6867, allocations: 484.3 kB / 0.9977 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.6868, allocations: 52 kB / 0.9978 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.6882, allocations: 0.951 MB / 0.9987 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.6885, allocations: 215.3 kB / 0.9989 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.6888, allocations: 326.6 kB / 0.9992 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.6906, allocations: 1.145 MB / 1 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6907, allocations: 4 kB / 1 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6907, allocations: 0 / 1 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.6907, allocations: 0 / 1 GB, free: 10.5 MB / 0.7761 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.001513/0.6922, allocations: 0.8935 MB / 1.001 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6922, allocations: 12.03 kB / 1.001 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.092e-05/0.6923, allocations: 86.52 kB / 1.001 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009253/0.6932, allocations: 263.3 kB / 1.002 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.694, allocations: 446.5 kB / 1.002 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.694, allocations: 29 kB / 1.002 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.6941, allocations: 36 kB / 1.002 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.695, allocations: 0.6107 MB / 1.003 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.695, allocations: 8 kB / 1.003 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.6951, allocations: 20 kB / 1.003 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.6951, allocations: 17 kB / 1.003 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.696, allocations: 0.5464 MB / 1.003 GB, free: 7.461 MB / 0.7761 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.002937/0.6989, allocations: 2.221 MB / 1.005 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.6994, allocations: 270.4 kB / 1.006 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.6997, allocations: 172.6 kB / 1.006 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.6998, allocations: 11.92 kB / 1.006 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6998, allocations: 34.56 kB / 1.006 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 3.767e-06/0.6998, allocations: 0 / 1.006 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.002862/0.7026, allocations: 1.015 MB / 1.007 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.7027, allocations: 81.11 kB / 1.007 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.7032, allocations: 0.5534 MB / 1.007 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.7033, allocations: 33.7 kB / 1.008 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.7035, allocations: 304.1 kB / 1.008 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.7035, allocations: 47.58 kB / 1.008 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.7036, allocations: 65.66 kB / 1.008 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7037, allocations: 358.8 kB / 1.008 GB, free: 2.117 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.7041, allocations: 187.8 kB / 1.008 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.7044, allocations: 267 kB / 1.009 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.705, allocations: 407 kB / 1.009 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.705, allocations: 0 / 1.009 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001749/0.7068, allocations: 0.7319 MB / 1.01 GB, free: 484 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7068, allocations: 8 kB / 1.01 GB, free: 476 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.7068, allocations: 4 kB / 1.01 GB, free: 472 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.7072, allocations: 172.8 kB / 1.01 GB, free: 296 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.7074, allocations: 75.88 kB / 1.01 GB, free: 220 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.71, allocations: 2.138 MB / 1.012 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.7104, allocations: 75.58 kB / 1.012 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.7104, allocations: 15.98 kB / 1.012 GB, free: 13.87 MB / 0.7917 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.000273/0.7107, allocations: 194.2 kB / 1.012 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.65e-05/0.7108, allocations: 51.72 kB / 1.012 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.7108, allocations: 51.97 kB / 1.013 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7108, allocations: 0 / 1.013 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7109, allocations: 4 kB / 1.013 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7109, allocations: 0 / 1.013 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.7126, allocations: 1.101 MB / 1.014 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.7126, allocations: 4 kB / 1.014 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.7128, allocations: 35.95 kB / 1.014 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.7131, allocations: 184.7 kB / 1.014 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.7131, allocations: 4 kB / 1.014 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.7153, allocations: 2.088 MB / 1.016 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7153, allocations: 4.031 kB / 1.016 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.717, allocations: 0.7081 MB / 1.017 GB, free: 9.234 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.7174, allocations: 87.67 kB / 1.017 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.7174, allocations: 7.984 kB / 1.017 GB, free: 9.141 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.7177, allocations: 52.81 kB / 1.017 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.7178, allocations: 15.97 kB / 1.017 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.7178, allocations: 11.98 kB / 1.017 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000362/0.7182, allocations: 394.8 kB / 1.017 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7182, allocations: 0 / 1.017 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006056/0.7188, allocations: 187.7 kB / 1.017 GB, free: 8.496 MB / 0.7917 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.001785/0.7206, allocations: 1.301 MB / 1.019 GB, free: 7.156 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.7216, allocations: 0.5123 MB / 1.019 GB, free: 6.633 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7216, allocations: 4 kB / 1.019 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.722, allocations: 298.9 kB / 1.019 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.723, allocations: 301.5 kB / 1.02 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007572/0.7306, allocations: 5.08 MB / 1.025 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.7309, allocations: 0.8738 MB / 1.025 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004213/0.7314, allocations: 108.5 kB / 1.026 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.7316, allocations: 163.3 kB / 1.026 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of SimCode: time 1.503e-06/0.7316, allocations: 0 / 1.026 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.7691, allocations: 17.18 MB / 1.042 GB, free: 14.73 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.916, allocations: 0 / 1.042 GB, free: 14.73 MB / 0.823 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_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_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.892039303900674] Failed to read output from testmodel.py, exit status != 0: 9.012049345066771 9.029235828 8.334663572 Calling exit ...