Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) 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(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 109.2 kB / 16.41 MB, free: 6.469 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.001184/0.001184, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 72.67 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1356, allocations: 80.2 MB / 0.6603 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02137/0.157, allocations: 20.85 MB / 0.6807 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007177/0.1642, allocations: 5.383 MB / 0.686 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005422/0.1648, allocations: 19.88 kB / 0.686 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008373/0.1656, allocations: 349.8 kB / 0.6863 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.1677, allocations: 0.9602 MB / 0.6873 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.1699, allocations: 0.9341 MB / 0.6882 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.1718, allocations: 1.739 MB / 0.6899 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.1724, allocations: 497.2 kB / 0.6903 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.174, allocations: 0.712 MB / 0.691 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005936/0.1746, allocations: 0.49 MB / 0.6915 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.214e-05/0.1747, allocations: 44 kB / 0.6916 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.1766, allocations: 1.127 MB / 0.6927 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1767, allocations: 139.5 kB / 0.6928 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.177, allocations: 322.3 kB / 0.6931 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.1788, allocations: 1.234 MB / 0.6943 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1788, allocations: 0 / 0.6943 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1788, allocations: 0 / 0.6943 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1788, allocations: 4 kB / 0.6943 GB, free: 7.344 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001585/0.1804, allocations: 1.067 MB / 0.6953 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1804, allocations: 8.031 kB / 0.6954 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.1813, allocations: 188.3 kB / 0.6955 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1824, allocations: 0.5924 MB / 0.6961 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.1824, allocations: 29 kB / 0.6961 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.1825, allocations: 36 kB / 0.6962 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009153/0.1834, allocations: 499.9 kB / 0.6966 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1835, allocations: 4 kB / 0.6967 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.1835, allocations: 15.94 kB / 0.6967 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.1835, allocations: 8 kB / 0.6967 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009701/0.1845, allocations: 410.6 kB / 0.6971 GB, free: 4.391 MB / 0.5294 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.002728/0.1873, allocations: 2.282 MB / 0.6993 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/0.1882, allocations: 362.9 kB / 0.6996 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.1887, allocations: 225 kB / 0.6999 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/0.189, allocations: 348.7 kB / 0.7002 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006081/0.1896, allocations: 302 kB / 0.7005 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.826e-06/0.1897, allocations: 4 kB / 0.7005 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002194/0.1919, allocations: 0.8587 MB / 0.7013 GB, free: 15.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1919, allocations: 81.11 kB / 0.7014 GB, free: 15.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.1924, allocations: 491 kB / 0.7019 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.1925, allocations: 33.7 kB / 0.7019 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.1927, allocations: 284.7 kB / 0.7022 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.1928, allocations: 119 kB / 0.7023 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1929, allocations: 77.64 kB / 0.7024 GB, free: 14.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.193, allocations: 366.7 kB / 0.7027 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.1935, allocations: 176.5 kB / 0.7029 GB, free: 14.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.194, allocations: 257.3 kB / 0.7031 GB, free: 13.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.1949, allocations: 470.1 kB / 0.7036 GB, free: 13.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1949, allocations: 8 kB / 0.7036 GB, free: 13.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001385/0.1963, allocations: 0.6009 MB / 0.7042 GB, free: 12.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.1964, allocations: 45.62 kB / 0.7042 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1964, allocations: 0 / 0.7042 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.1967, allocations: 76.81 kB / 0.7043 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.1971, allocations: 76.03 kB / 0.7044 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004365/0.1976, allocations: 0.5953 MB / 0.7049 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.198, allocations: 63.75 kB / 0.705 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.1981, allocations: 19.98 kB / 0.705 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005617/0.1987, allocations: 307.8 kB / 0.7053 GB, free: 11.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004732/0.1991, allocations: 257.3 kB / 0.7056 GB, free: 11.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008739/0.2, allocations: 460.9 kB / 0.706 GB, free: 10.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.2, allocations: 7.938 kB / 0.706 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001215/0.2013, allocations: 0.5852 MB / 0.7066 GB, free: 10.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.2013, allocations: 44.03 kB / 0.7066 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.2013, allocations: 7.938 kB / 0.7066 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.2015, allocations: 48.83 kB / 0.7067 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.2018, allocations: 71.89 kB / 0.7067 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.2032, allocations: 1.807 MB / 0.7085 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.2037, allocations: 55.97 kB / 0.7086 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.2037, allocations: 16 kB / 0.7086 GB, free: 7.844 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.2039, allocations: 239.3 kB / 0.7088 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2041, allocations: 63.62 kB / 0.7089 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.2054, allocations: 0.6454 MB / 0.7095 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/0.2066, allocations: 0.8063 MB / 0.7103 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2067, allocations: 0 / 0.7103 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.2069, allocations: 188.6 kB / 0.7105 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.207, allocations: 8 kB / 0.7105 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.2074, allocations: 35.95 kB / 0.7105 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.2075, allocations: 32 kB / 0.7105 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001517/0.209, allocations: 0.7331 MB / 0.7112 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001663/0.2107, allocations: 0.9796 MB / 0.7122 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004746/0.2112, allocations: 240.4 kB / 0.7124 GB, free: 3.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003696/0.2115, allocations: 342.8 kB / 0.7128 GB, free: 3.379 MB / 0.545 GB Notification: Performance of Backend: time 5.51e-07/0.2116, allocations: 0 / 0.7128 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002716/0.2143, allocations: 1.175 MB / 0.7139 GB, free: 2.176 MB / 0.545 GB Notification: Performance of SimCode: time 0.001997/0.2163, allocations: 1.64 MB / 0.7155 GB, free: 488 kB / 0.545 GB Notification: Performance of Templates: time 0.02072/0.237, allocations: 13.85 MB / 0.729 GB, free: 2.746 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)