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.004681/0.004681, allocations: 101 kB / 15.73 MB, free: 6.059 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.001232/0.001232, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.326/1.326, 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.8223/0.8223, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 72.66 kB / 0.5808 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1371, allocations: 80.21 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4807/0.6178, allocations: 171 MB / 0.8261 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00657/0.6244, allocations: 4.272 MB / 0.8303 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.6252, allocations: 22.56 kB / 0.8303 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.6262, allocations: 341.1 kB / 0.8307 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.6286, allocations: 1.001 MB / 0.8316 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.6307, allocations: 0.8194 MB / 0.8324 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.6322, allocations: 1.291 MB / 0.8337 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006037/0.6328, allocations: 474.8 kB / 0.8342 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.6339, allocations: 0.6861 MB / 0.8348 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009102/0.6349, allocations: 455.2 kB / 0.8353 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.6349, allocations: 53.31 kB / 0.8353 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.6364, allocations: 0.9066 MB / 0.8362 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.6367, allocations: 209.6 kB / 0.8364 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.637, allocations: 330.6 kB / 0.8367 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.6385, allocations: 1.139 MB / 0.8378 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6385, allocations: 4 kB / 0.8378 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6385, allocations: 0 / 0.8378 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.6385, allocations: 0 / 0.8378 GB, free: 10.76 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.001637/0.6401, allocations: 0.9706 MB / 0.8388 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.6402, allocations: 10.06 kB / 0.8388 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.958e-05/0.6403, allocations: 87.73 kB / 0.8389 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.6418, allocations: 269.3 kB / 0.8391 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/0.6427, allocations: 0.4953 MB / 0.8396 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.6428, allocations: 29.97 kB / 0.8396 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.6428, allocations: 41.84 kB / 0.8397 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.6441, allocations: 0.6174 MB / 0.8403 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.6441, allocations: 3.984 kB / 0.8403 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.6442, allocations: 16.66 kB / 0.8403 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.6442, allocations: 22.94 kB / 0.8403 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.6456, allocations: 0.5441 MB / 0.8409 GB, free: 8.652 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.003857/0.6494, allocations: 2.277 MB / 0.8431 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/0.6504, allocations: 278.6 kB / 0.8433 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.6509, allocations: 172 kB / 0.8435 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.651, allocations: 0 / 0.8435 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.651, allocations: 41.53 kB / 0.8435 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.651, allocations: 4 kB / 0.8436 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.005021/0.656, allocations: 1.094 MB / 0.8446 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.6561, allocations: 79.92 kB / 0.8447 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/0.6567, allocations: 0.5503 MB / 0.8452 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.6568, allocations: 32.48 kB / 0.8453 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.657, allocations: 304.5 kB / 0.8456 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.657, allocations: 36.66 kB / 0.8456 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.6572, allocations: 62.88 kB / 0.8457 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6573, allocations: 352.8 kB / 0.846 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.6579, allocations: 191.9 kB / 0.8462 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.6586, allocations: 270.8 kB / 0.8464 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.6597, allocations: 412.9 kB / 0.8468 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6598, allocations: 0 / 0.8468 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002549/0.6623, allocations: 0.7379 MB / 0.8475 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.6623, allocations: 4.906 kB / 0.8475 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6624, allocations: 2.406 kB / 0.8476 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000614/0.663, allocations: 193.4 kB / 0.8477 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.6633, allocations: 62.02 kB / 0.8478 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.6673, allocations: 2.242 MB / 0.85 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.6679, allocations: 84.08 kB / 0.8501 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.6679, allocations: 11.34 kB / 0.8501 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.0002464/0.6681, allocations: 180.9 kB / 0.8502 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/0.6682, allocations: 60.8 kB / 0.8503 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.284e-05/0.6683, allocations: 57.88 kB / 0.8504 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.6684, allocations: 2.812 kB / 0.8504 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6684, allocations: 2.562 kB / 0.8504 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6684, allocations: 0 / 0.8504 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.6713, allocations: 1.124 MB / 0.8515 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6713, allocations: 6.828 kB / 0.8515 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.6716, allocations: 34.28 kB / 0.8515 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/0.6721, allocations: 185.3 kB / 0.8517 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.6721, allocations: 7.938 kB / 0.8517 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.6759, allocations: 2.189 MB / 0.8538 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6759, allocations: 3.984 kB / 0.8538 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.6784, allocations: 0.7003 MB / 0.8545 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.6787, allocations: 169 kB / 0.8547 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.6788, allocations: 11.94 kB / 0.8547 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.6793, allocations: 51.94 kB / 0.8547 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.6794, allocations: 11.98 kB / 0.8547 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.6794, allocations: 11.98 kB / 0.8548 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000477/0.6799, allocations: 394.8 kB / 0.8551 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6799, allocations: 4.094 kB / 0.8551 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006062/0.6805, allocations: 183.7 kB / 0.8553 GB, free: 12.69 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.003113/0.6837, allocations: 1.321 MB / 0.8566 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.6853, allocations: 0.5296 MB / 0.8571 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6853, allocations: 384 / 0.8571 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/0.6861, allocations: 302.6 kB / 0.8574 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.6875, allocations: 297.3 kB / 0.8577 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.6988, allocations: 5.086 MB / 0.8627 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.6994, allocations: 0.8659 MB / 0.8635 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000415/0.6998, allocations: 100.5 kB / 0.8636 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.7, allocations: 163.4 kB / 0.8638 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of SimCode: time 8.61e-07/0.7, allocations: 0 / 0.8638 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1954/0.8954, allocations: 16.9 MB / 0.8803 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.67, allocations: 7.938 kB / 0.8803 GB, free: 3.242 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)