Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 115.2 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 206.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.24, allocations: 50.53 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003203/0.2432, allocations: 2.229 MB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2443, allocations: 0.6043 MB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2445, allocations: 7.938 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2447, allocations: 23.67 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.2449, allocations: 83.34 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.2452, allocations: 71.84 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.2455, allocations: 275.1 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2457, allocations: 76.64 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.2459, allocations: 123.4 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2461, allocations: 143.2 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.2462, allocations: 24 kB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.2462, allocations: 24 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.2463, allocations: 63.69 kB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.2465, allocations: 135.1 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.2468, allocations: 258.5 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2469, allocations: 0 / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2469, allocations: 0 / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2469, allocations: 0 / 414 MB, free: 13.47 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001187/0.2481, allocations: 0.6229 MB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2481, allocations: 8.031 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.2482, allocations: 40.7 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.2486, allocations: 316.5 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2486, allocations: 20.41 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.2486, allocations: 15.98 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.2492, allocations: 369.9 kB / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2493, allocations: 0 / 415.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.2493, allocations: 8 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2493, allocations: 4 kB / 415.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.2495, allocations: 91.89 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.2502, allocations: 0.5249 MB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.2509, allocations: 310.6 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.2511, allocations: 141.8 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.2511, allocations: 7.984 kB / 416.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2512, allocations: 51.16 kB / 416.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.2512, allocations: 0 / 416.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.00225/0.2534, allocations: 1.34 MB / 417.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2535, allocations: 110.7 kB / 418 MB, free: 9.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.2538, allocations: 332.6 kB / 418.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.2538, allocations: 29.7 kB / 418.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.2539, allocations: 153 kB / 418.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.254, allocations: 31.88 kB / 418.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.2541, allocations: 57.7 kB / 418.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.2542, allocations: 350.8 kB / 418.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.2543, allocations: 55.97 kB / 419 MB, free: 8.184 MB / 334.1 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model Modelica.Clocked.Examples.Systems.ControlledMixingUnit could not be translated