Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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) 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(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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 116 kB / 17.75 MB, free: 5.223 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.001243/0.001243, allocations: 185.4 kB / 18.67 MB, free: 4.309 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2512, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003465/0.2547, allocations: 2.213 MB / 403.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.256, allocations: 0.5964 MB / 404.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2561, allocations: 0 / 404.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2563, allocations: 27.61 kB / 404.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.2566, allocations: 83.39 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.2569, allocations: 71.86 kB / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.2572, allocations: 279 kB / 404.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2574, allocations: 60.97 kB / 404.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.2576, allocations: 115.4 kB / 404.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.2579, allocations: 147.2 kB / 405 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.2579, allocations: 24 kB / 405 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.258, allocations: 27.94 kB / 405 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.2581, allocations: 67.69 kB / 405.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.2582, allocations: 131.1 kB / 405.2 MB, free: 5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.2585, allocations: 246.8 kB / 405.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2585, allocations: 3.938 kB / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2585, allocations: 0 / 405.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.2585, allocations: 0 / 405.5 MB, free: 4.758 MB / 318.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.001047/0.2596, allocations: 0.6126 MB / 406.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2596, allocations: 15.97 kB / 406.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.2597, allocations: 32.56 kB / 406.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.26, allocations: 320.3 kB / 406.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2601, allocations: 16.34 kB / 406.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.2601, allocations: 16 kB / 406.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.2607, allocations: 366.7 kB / 406.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2607, allocations: 0 / 406.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2608, allocations: 4 kB / 406.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2608, allocations: 4 kB / 406.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.261, allocations: 91.89 kB / 406.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.2618, allocations: 0.5248 MB / 407.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.2625, allocations: 315.9 kB / 407.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.2627, allocations: 136.1 kB / 407.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.2627, allocations: 11.84 kB / 407.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2628, allocations: 46.55 kB / 408 MB, free: 2.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.2628, allocations: 0 / 408 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.00222/0.265, allocations: 1.335 MB / 409.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2651, allocations: 114.8 kB / 409.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.2654, allocations: 324.6 kB / 409.7 MB, free: 184 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.2654, allocations: 33.7 kB / 409.8 MB, free: 144 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.2655, allocations: 141.1 kB / 409.9 MB, free: 0 / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.2656, allocations: 35.72 kB / 409.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/0.2657, allocations: 65.67 kB / 410 MB, free: 15.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2658, allocations: 346.8 kB / 410.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.2659, allocations: 51.97 kB / 410.4 MB, free: 15.5 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