Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000985/0.0009849, allocations: 180.4 kB / 16.78 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205 MB / 222.6 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006892/0.0006893, allocations: 84.98 kB / 270.5 MB, free: 8.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07037/0.07037, allocations: 12.57 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 16.38 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06986/0.07023, allocations: 49.98 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit): time 0.001846/0.07211, allocations: 1.926 MB / 443.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009184/0.07305, allocations: 0.6322 MB / 444.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.07324, allocations: 4 kB / 444.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.07337, allocations: 15.8 kB / 444.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.07364, allocations: 59.62 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.0739, allocations: 59.86 kB / 444.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.07416, allocations: 274.8 kB / 444.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.0743, allocations: 60.95 kB / 444.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.07446, allocations: 111.4 kB / 444.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.07462, allocations: 131.2 kB / 444.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.07466, allocations: 8 kB / 445 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.906e-05/0.0747, allocations: 12 kB / 445 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.07476, allocations: 47.7 kB / 445 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.07484, allocations: 119 kB / 445.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.07501, allocations: 239.2 kB / 445.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.07503, allocations: 0 / 445.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.07503, allocations: 0 / 445.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.07505, allocations: 0 / 445.4 MB, free: 12.71 MB / 298.7 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.000868/0.07592, allocations: 0.5803 MB / 445.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.07597, allocations: 8.031 kB / 446 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.07604, allocations: 32.56 kB / 446 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.07636, allocations: 316.3 kB / 446.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.07639, allocations: 16.41 kB / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.07643, allocations: 15.98 kB / 446.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.07693, allocations: 388.7 kB / 446.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.07695, allocations: 3.938 kB / 446.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.07697, allocations: 8 kB / 446.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.07699, allocations: 4 kB / 446.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.07717, allocations: 99.89 kB / 446.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.07772, allocations: 0.5248 MB / 447.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.0783, allocations: 311.8 kB / 447.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.07854, allocations: 146.6 kB / 447.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.07858, allocations: 0 / 447.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.0786, allocations: 43.16 kB / 447.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.07861, allocations: 0 / 447.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001902/0.08052, allocations: 1.345 MB / 449.2 MB, free: 8.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.08055, allocations: 106.8 kB / 449.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.08084, allocations: 336.6 kB / 449.6 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.08087, allocations: 29.7 kB / 449.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.08093, allocations: 153 kB / 449.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.08097, allocations: 35.78 kB / 449.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.08101, allocations: 29.7 kB / 449.9 MB, free: 7.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.08107, allocations: 346.8 kB / 450.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.08119, allocations: 60 kB / 450.2 MB, free: 7.453 MB / 298.7 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated