Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 213.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2176, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003414/0.221, allocations: 2.125 MB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2222, allocations: 0.5965 MB / 435.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2223, allocations: 0 / 435.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.2224, allocations: 27.61 kB / 435.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.2226, allocations: 79.42 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.2229, allocations: 79.77 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.2232, allocations: 275 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2233, allocations: 60.52 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.2236, allocations: 127.4 kB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.2237, allocations: 147.2 kB / 435.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.2238, allocations: 20 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.2238, allocations: 24 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.2239, allocations: 67.64 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.224, allocations: 103.3 kB / 436 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.2243, allocations: 269.6 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2243, allocations: 0 / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2243, allocations: 0 / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.2243, allocations: 0 / 436.3 MB, free: 2.711 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.001079/0.2254, allocations: 0.5476 MB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2254, allocations: 8.031 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.2255, allocations: 36.7 kB / 436.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.2259, allocations: 254.8 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2259, allocations: 16.41 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.2259, allocations: 16 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.2266, allocations: 381.8 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2266, allocations: 0 / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.2266, allocations: 4 kB / 437.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2266, allocations: 8 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2269, allocations: 91.89 kB / 437.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.2275, allocations: 429.3 kB / 438.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.2282, allocations: 307.6 kB / 438.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.2284, allocations: 136.9 kB / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2285, allocations: 4 kB / 438.5 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2285, allocations: 42.5 kB / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.2285, allocations: 0 / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of matching and sorting (n=38): time 0.002304/0.2308, allocations: 1.153 MB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.2309, allocations: 111.4 kB / 439.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.2312, allocations: 328.6 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.2313, allocations: 33.7 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.2314, allocations: 144.7 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.2314, allocations: 39.78 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.2315, allocations: 54.03 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2317, allocations: 346.7 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2318, allocations: 56.62 kB / 440.8 MB, free: 13.96 MB / 350.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 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4402266960023553] Failed to read output from testmodel.py, exit status != 0: ['time', 'filter.x[1]', 'filter.x[2]', 'filter.x[3]', 'invMixingUnit.c', 'invMixingUnit.T', 'mixingUnit.c', 'mixingUnit.T'] 0.23952325000573182 0.25344725500000004 0.026196304 Calling exit ...