Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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: translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005125/0.005125, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001217/0.001217, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7281/0.7281, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 66.12 kB / 0.5813 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1917, allocations: 80.2 MB / 0.6597 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6568/0.8485, allocations: 171 MB / 0.8267 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006509/0.8551, allocations: 4.286 MB / 0.8309 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.856, allocations: 25.42 kB / 0.8309 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.8571, allocations: 351.1 kB / 0.8312 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003259/0.8604, allocations: 1.218 MB / 0.8324 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.8626, allocations: 0.791 MB / 0.8332 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002145/0.8648, allocations: 1.692 MB / 0.8349 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007176/0.8655, allocations: 0.5557 MB / 0.8354 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.8666, allocations: 0.6877 MB / 0.8361 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.8678, allocations: 0.5605 MB / 0.8366 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.868, allocations: 66.53 kB / 0.8367 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.8697, allocations: 0.7962 MB / 0.8375 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.87, allocations: 273.7 kB / 0.8377 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.8705, allocations: 409.5 kB / 0.8381 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.8723, allocations: 1.273 MB / 0.8394 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8723, allocations: 0.875 kB / 0.8394 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8723, allocations: 1.203 kB / 0.8394 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.8724, allocations: 0.9062 kB / 0.8394 GB, free: 2.875 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001808/0.8742, allocations: 1.056 MB / 0.8404 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8742, allocations: 9.375 kB / 0.8404 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.8752, allocations: 169.5 kB / 0.8406 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.876, allocations: 0.5406 MB / 0.8411 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.876, allocations: 41.28 kB / 0.8411 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.8761, allocations: 58.14 kB / 0.8412 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.8771, allocations: 0.6524 MB / 0.8418 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.8772, allocations: 0 / 0.8418 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.8772, allocations: 23.34 kB / 0.8418 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.8773, allocations: 25.45 kB / 0.8419 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/0.8781, allocations: 0.507 MB / 0.8424 GB, free: 1.863 MB / 0.6387 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.002718/0.8808, allocations: 2.302 MB / 0.8446 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.8813, allocations: 259.5 kB / 0.8449 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.8815, allocations: 133.4 kB / 0.845 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.8815, allocations: 6.5 kB / 0.845 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.8815, allocations: 40.12 kB / 0.845 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.8816, allocations: 1.094 kB / 0.845 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001583/0.8831, allocations: 0.6758 MB / 0.8457 GB, free: 16.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.8832, allocations: 79.61 kB / 0.8458 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.8838, allocations: 0.5579 MB / 0.8463 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.8839, allocations: 32.58 kB / 0.8463 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.8841, allocations: 341.3 kB / 0.8467 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.8841, allocations: 73.39 kB / 0.8467 GB, free: 16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.8842, allocations: 73.41 kB / 0.8468 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8844, allocations: 362.8 kB / 0.8472 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.8846, allocations: 132.3 kB / 0.8473 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.8849, allocations: 225.3 kB / 0.8475 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.8853, allocations: 335.3 kB / 0.8478 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8853, allocations: 2.906 kB / 0.8478 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007924/0.8861, allocations: 0.49 MB / 0.8483 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8862, allocations: 8.938 kB / 0.8483 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8862, allocations: 0 / 0.8483 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.8865, allocations: 105.1 kB / 0.8484 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.8868, allocations: 68.66 kB / 0.8485 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.8895, allocations: 3.338 MB / 0.8517 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.8901, allocations: 52.73 kB / 0.8518 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.8901, allocations: 9.531 kB / 0.8518 GB, free: 12.64 MB / 0.6544 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.8904, allocations: 226 kB / 0.852 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.8905, allocations: 59.88 kB / 0.8521 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.8906, allocations: 55.66 kB / 0.8521 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8906, allocations: 3.625 kB / 0.8521 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.8906, allocations: 0 / 0.8521 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006965/0.8913, allocations: 0.5346 MB / 0.8526 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.8924, allocations: 0.9166 MB / 0.8535 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8925, allocations: 0.9062 kB / 0.8535 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.8927, allocations: 38.62 kB / 0.8536 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/0.8928, allocations: 65.7 kB / 0.8536 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.8929, allocations: 10.28 kB / 0.8536 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.8946, allocations: 1.825 MB / 0.8554 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8946, allocations: 3.938 kB / 0.8554 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.8952, allocations: 441.8 kB / 0.8559 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.8954, allocations: 173.9 kB / 0.856 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.8954, allocations: 9.844 kB / 0.856 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.8959, allocations: 16.92 kB / 0.856 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.8959, allocations: 25.05 kB / 0.8561 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.896, allocations: 17.69 kB / 0.8561 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003904/0.8964, allocations: 394 kB / 0.8565 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8964, allocations: 0 / 0.8565 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007406/0.8971, allocations: 202.7 kB / 0.8567 GB, free: 10 MB / 0.6544 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003675/0.8975, allocations: 160 kB / 0.8568 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008145/0.8983, allocations: 0.5411 MB / 0.8573 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8984, allocations: 1 kB / 0.8573 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.8987, allocations: 258 kB / 0.8576 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.9003, allocations: 375.1 kB / 0.8579 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.9018, allocations: 0.998 MB / 0.8589 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005798/0.9024, allocations: 0.909 MB / 0.8598 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004087/0.9028, allocations: 111.7 kB / 0.8599 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.276e-05/0.9029, allocations: 36.59 kB / 0.8599 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.9029, allocations: 2.938 kB / 0.8599 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of Templates: time 0.02118/0.9241, allocations: 13.13 MB / 0.8728 GB, free: 6.781 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)