Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.013/2.013, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9651/0.9651, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.000505, allocations: 12 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8203/0.8209, allocations: 81.56 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.22/1.041, allocations: 143 MB / 0.7226 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008059/1.049, allocations: 4.103 MB / 0.7266 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009854/1.05, allocations: 19.88 kB / 0.7267 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/1.051, allocations: 314.6 kB / 0.727 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003756/1.055, allocations: 1.001 MB / 0.7279 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/1.058, allocations: 0.7817 MB / 0.7287 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002711/1.061, allocations: 0.7694 MB / 0.7295 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009583/1.062, allocations: 360.4 kB / 0.7298 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/1.064, allocations: 0.5101 MB / 0.7303 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006881/1.064, allocations: 290.9 kB / 0.7306 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/1.064, allocations: 27.94 kB / 0.7306 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/1.066, allocations: 0.6318 MB / 0.7312 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002384/1.066, allocations: 163.6 kB / 0.7314 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/1.067, allocations: 145.4 kB / 0.7315 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/1.068, allocations: 0.795 MB / 0.7323 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.068, allocations: 4 kB / 0.7323 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.845e-06/1.068, allocations: 0 / 0.7323 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.068, allocations: 0 / 0.7323 GB, free: 7.316 MB / 0.5606 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.00189/1.07, allocations: 0.8454 MB / 0.7331 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.07, allocations: 12.03 kB / 0.7331 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/1.07, allocations: 86.52 kB / 0.7332 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/1.072, allocations: 291 kB / 0.7335 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.073, allocations: 469.8 kB / 0.7339 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/1.073, allocations: 96.94 kB / 0.734 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/1.074, allocations: 44 kB / 0.7341 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/1.075, allocations: 0.6224 MB / 0.7347 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.075, allocations: 8 kB / 0.7347 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/1.075, allocations: 27.94 kB / 0.7347 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/1.075, allocations: 20.98 kB / 0.7347 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/1.077, allocations: 0.5855 MB / 0.7353 GB, free: 4.113 MB / 0.5606 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.004855/1.082, allocations: 2.3 MB / 0.7376 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.083, allocations: 310.3 kB / 0.7378 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/1.083, allocations: 4 kB / 0.7379 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.083, allocations: 38.5 kB / 0.7379 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 3.106e-06/1.083, allocations: 4 kB / 0.7379 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.005651/1.089, allocations: 1.189 MB / 0.7391 GB, free: 96 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/1.089, allocations: 77.11 kB / 0.7391 GB, free: 0 / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000915/1.09, allocations: 0.5495 MB / 0.7397 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/1.09, allocations: 29.7 kB / 0.7397 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/1.09, allocations: 303.5 kB / 0.74 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/1.09, allocations: 43.39 kB / 0.74 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/1.09, allocations: 4 kB / 0.74 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002171/1.09, allocations: 358.8 kB / 0.7404 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/1.091, allocations: 211.8 kB / 0.7406 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/1.092, allocations: 291.6 kB / 0.7409 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/1.093, allocations: 221.9 kB / 0.7411 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.093, allocations: 0 / 0.7411 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003104/1.096, allocations: 0.7824 MB / 0.7418 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.096, allocations: 4 kB / 0.7418 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.096, allocations: 4 kB / 0.7418 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007126/1.097, allocations: 192.8 kB / 0.742 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/1.097, allocations: 79.88 kB / 0.7421 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/1.102, allocations: 2.223 MB / 0.7443 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008895/1.103, allocations: 103.4 kB / 0.7444 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/1.103, allocations: 12 kB / 0.7444 GB, free: 10.42 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003719/1.104, allocations: 189.6 kB / 0.7446 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.104, allocations: 51.44 kB / 0.7446 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/1.104, allocations: 56.03 kB / 0.7447 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.104, allocations: 4 kB / 0.7447 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/1.104, allocations: 0 / 0.7447 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.104, allocations: 0 / 0.7447 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/1.108, allocations: 1.195 MB / 0.7458 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.108, allocations: 4 kB / 0.7458 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/1.108, allocations: 52 kB / 0.7459 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005964/1.109, allocations: 188.7 kB / 0.7461 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.109, allocations: 0 / 0.7461 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/1.113, allocations: 2.108 MB / 0.7481 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.113, allocations: 4.062 kB / 0.7481 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/1.116, allocations: 0.7738 MB / 0.7489 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/1.116, allocations: 172.4 kB / 0.749 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/1.116, allocations: 4 kB / 0.749 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006617/1.117, allocations: 64.55 kB / 0.7491 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/1.117, allocations: 20.02 kB / 0.7491 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/1.117, allocations: 23.86 kB / 0.7492 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005597/1.118, allocations: 390.8 kB / 0.7495 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.118, allocations: 0 / 0.7495 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008132/1.118, allocations: 179.8 kB / 0.7497 GB, free: 4.699 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003691/1.122, allocations: 1.519 MB / 0.7512 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002561/1.125, allocations: 0.6474 MB / 0.7518 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.125, allocations: 4 kB / 0.7518 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.126, allocations: 323 kB / 0.7521 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.127, allocations: 297.8 kB / 0.7524 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.138, allocations: 4.893 MB / 0.7572 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/1.138, allocations: 0.8738 MB / 0.758 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005775/1.139, allocations: 100.5 kB / 0.7581 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/1.139, allocations: 163.4 kB / 0.7583 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/1.139, allocations: 4 kB / 0.7583 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07849/1.218, allocations: 15.95 MB / 0.7739 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000364/1.218, allocations: 264.2 kB / 0.7741 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/4.295, allocations: 3.625 kB / 0.7741 GB, free: 11.81 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: