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.005058/0.005058, allocations: 102.1 kB / 15.73 MB, free: 6.039 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.00111/0.00111, allocations: 194.2 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 62.12 kB / 0.5808 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1638, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5602/0.724, allocations: 171 MB / 0.8261 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007264/0.7313, allocations: 4.272 MB / 0.8303 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.7324, allocations: 22.72 kB / 0.8303 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.7338, allocations: 345.1 kB / 0.8307 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003123/0.7369, allocations: 0.9933 MB / 0.8316 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.7395, allocations: 0.819 MB / 0.8324 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.7416, allocations: 1.289 MB / 0.8337 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008841/0.7425, allocations: 486 kB / 0.8342 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.7441, allocations: 0.6802 MB / 0.8348 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.7455, allocations: 456.6 kB / 0.8353 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.7457, allocations: 53.25 kB / 0.8353 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.7477, allocations: 0.9049 MB / 0.8362 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003387/0.7481, allocations: 214 kB / 0.8364 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000595/0.7487, allocations: 329.8 kB / 0.8367 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.7512, allocations: 1.136 MB / 0.8378 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7513, allocations: 0 / 0.8378 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7513, allocations: 3.938 kB / 0.8378 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.28e-05/0.7513, allocations: 0 / 0.8378 GB, free: 10.72 MB / 0.6075 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.002213/0.7535, allocations: 0.9585 MB / 0.8388 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7536, allocations: 10.31 kB / 0.8388 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.7537, allocations: 81.17 kB / 0.8388 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.7555, allocations: 263.8 kB / 0.8391 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.7566, allocations: 0.4923 MB / 0.8396 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.7566, allocations: 34.59 kB / 0.8396 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.7567, allocations: 39.38 kB / 0.8396 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.758, allocations: 0.6106 MB / 0.8402 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.7581, allocations: 3.938 kB / 0.8402 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.7581, allocations: 25.33 kB / 0.8403 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.7582, allocations: 20.08 kB / 0.8403 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.7595, allocations: 0.5508 MB / 0.8408 GB, free: 8.633 MB / 0.6075 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.004394/0.764, allocations: 2.272 MB / 0.843 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/0.7649, allocations: 279 kB / 0.8433 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.7654, allocations: 161.6 kB / 0.8435 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.7654, allocations: 7.203 kB / 0.8435 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.7655, allocations: 45.19 kB / 0.8435 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 4.057e-06/0.7655, allocations: 0 / 0.8435 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005137/0.7707, allocations: 1.09 MB / 0.8446 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.7708, allocations: 79.92 kB / 0.8447 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009245/0.7717, allocations: 0.5503 MB / 0.8452 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.7718, allocations: 27.98 kB / 0.8452 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.772, allocations: 308.4 kB / 0.8455 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.7721, allocations: 38.14 kB / 0.8456 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.7723, allocations: 60.2 kB / 0.8456 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.7724, allocations: 359.4 kB / 0.846 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.773, allocations: 186.4 kB / 0.8461 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.7736, allocations: 276.5 kB / 0.8464 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7747, allocations: 407 kB / 0.8468 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7747, allocations: 3.938 kB / 0.8468 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002735/0.7775, allocations: 0.7261 MB / 0.8475 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.7775, allocations: 5.188 kB / 0.8475 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7775, allocations: 2.688 kB / 0.8475 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.7782, allocations: 187.8 kB / 0.8477 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.7786, allocations: 67.28 kB / 0.8477 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.7826, allocations: 2.242 MB / 0.8499 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007884/0.7834, allocations: 74.17 kB / 0.85 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.7835, allocations: 18.05 kB / 0.85 GB, free: 1.797 MB / 0.6075 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.0003304/0.7838, allocations: 184.5 kB / 0.8502 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.784, allocations: 60.91 kB / 0.8503 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.7841, allocations: 49.25 kB / 0.8503 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7841, allocations: 6.531 kB / 0.8503 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7841, allocations: 0 / 0.8503 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7841, allocations: 0 / 0.8503 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.7872, allocations: 1.121 MB / 0.8514 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.7872, allocations: 0 / 0.8514 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.7875, allocations: 43.98 kB / 0.8514 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/0.788, allocations: 177.8 kB / 0.8516 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.7881, allocations: 15.94 kB / 0.8516 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003513/0.7916, allocations: 2.186 MB / 0.8538 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7916, allocations: 0 / 0.8538 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.7941, allocations: 0.7001 MB / 0.8545 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.7944, allocations: 164.5 kB / 0.8546 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.7946, allocations: 15.88 kB / 0.8546 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/0.7952, allocations: 51.94 kB / 0.8547 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.7953, allocations: 7.984 kB / 0.8547 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.7954, allocations: 15.98 kB / 0.8547 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004788/0.7958, allocations: 394.8 kB / 0.8551 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7958, allocations: 0 / 0.8551 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007084/0.7966, allocations: 187.7 kB / 0.8553 GB, free: 12.66 MB / 0.6231 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.003045/0.7996, allocations: 1.314 MB / 0.8565 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.8012, allocations: 0.5182 MB / 0.857 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.8012, allocations: 4.062 kB / 0.857 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.8019, allocations: 302.5 kB / 0.8573 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.8034, allocations: 305.7 kB / 0.8576 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.8152, allocations: 5.065 MB / 0.8626 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.8157, allocations: 0.8659 MB / 0.8634 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004842/0.8162, allocations: 104.5 kB / 0.8635 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.8165, allocations: 163.4 kB / 0.8637 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of SimCode: time 1.253e-06/0.8165, allocations: 3.938 kB / 0.8637 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.8616, allocations: 17.17 MB / 0.8804 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.19, allocations: 20.11 kB / 0.8805 GB, free: 2.949 MB / 0.6387 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/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)