Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009863, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0009917/0.0009921, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4601/0.4601, allocations: 55.02 MB / 325.4 MB, free: 0.6914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009772/0.0009774, allocations: 16 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.5042, allocations: 60.72 MB / 457.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.691/1.195, allocations: 237.7 MB / 0.6787 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03364/1.229, allocations: 18.38 MB / 0.6967 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004782/1.234, allocations: 80.16 kB / 0.6968 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004351/1.238, allocations: 0.9732 MB / 0.6977 GB, free: 5.277 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01102/1.249, allocations: 2.979 MB / 0.7006 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01226/1.262, allocations: 2.852 MB / 0.7034 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01272/1.274, allocations: 6.909 MB / 0.7102 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004335/1.279, allocations: 1.553 MB / 0.7117 GB, free: 20.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006702/1.285, allocations: 2.169 MB / 0.7138 GB, free: 20.37 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004499/1.29, allocations: 1.771 MB / 0.7155 GB, free: 20.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005687/1.291, allocations: 91.28 kB / 0.7156 GB, free: 20.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008142/1.299, allocations: 2.428 MB / 0.718 GB, free: 19.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001461/1.3, allocations: 0.7432 MB / 0.7187 GB, free: 19.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001999/1.302, allocations: 0.5196 MB / 0.7192 GB, free: 19.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007912/1.31, allocations: 3.592 MB / 0.7227 GB, free: 17.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.31, allocations: 2.156 kB / 0.7227 GB, free: 17.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.677e-06/1.31, allocations: 3.984 kB / 0.7227 GB, free: 17.4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.000188/1.31, allocations: 0 / 0.7227 GB, free: 17.4 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.008165/1.319, allocations: 2.732 MB / 0.7254 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/1.319, allocations: 10.94 kB / 0.7254 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/1.324, allocations: 0.7949 MB / 0.7262 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004911/1.329, allocations: 1.72 MB / 0.7279 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/1.329, allocations: 186.2 kB / 0.7281 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006524/1.33, allocations: 172.8 kB / 0.7282 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005713/1.336, allocations: 1.958 MB / 0.7301 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.008e-05/1.336, allocations: 0 / 0.7301 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/1.336, allocations: 65.34 kB / 0.7302 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.62e-05/1.336, allocations: 56.56 kB / 0.7302 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0046/1.341, allocations: 1.683 MB / 0.7319 GB, free: 13.65 MB / 0.5137 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.0168/1.358, allocations: 8.433 MB / 0.7401 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/1.361, allocations: 1.866 MB / 0.7419 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/1.362, allocations: 0.6658 MB / 0.7426 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/1.363, allocations: 143.7 kB / 0.7427 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/1.365, allocations: 0.8271 MB / 0.7435 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001252/1.366, allocations: 121 kB / 0.7437 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 7.885e-06/1.366, allocations: 4 kB / 0.7437 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=101): time 0.01157/1.378, allocations: 4.097 MB / 0.7477 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/1.378, allocations: 299.2 kB / 0.7479 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/1.381, allocations: 1.659 MB / 0.7496 GB, free: 92 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001881/1.382, allocations: 52.27 kB / 0.7496 GB, free: 48 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.383, allocations: 0.9808 MB / 0.7506 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005/1.383, allocations: 354 kB / 0.7509 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.383, allocations: 27.88 kB / 0.7509 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.384, allocations: 354.7 kB / 0.7513 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/1.385, allocations: 0.5936 MB / 0.7519 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/1.387, allocations: 0.9857 MB / 0.7528 GB, free: 13.52 MB / 0.5294 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/1.4, allocations: 3.407 MB / 0.7561 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.4, allocations: 0 / 0.7561 GB, free: 10.63 MB / 0.5294 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated