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.0015/0.0015, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001623/0.001624, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7923/0.7923, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.72 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1673, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02545/0.1928, allocations: 20.84 MB / 0.6807 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008619/0.2015, allocations: 5.384 MB / 0.6859 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2026, allocations: 27.81 kB / 0.686 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.2038, allocations: 337.8 kB / 0.6863 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.2068, allocations: 0.9212 MB / 0.6872 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.2098, allocations: 0.9313 MB / 0.6881 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002729/0.2125, allocations: 1.735 MB / 0.6898 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000997/0.2135, allocations: 493.2 kB / 0.6903 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.2159, allocations: 0.7251 MB / 0.691 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.2169, allocations: 493.8 kB / 0.6914 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.2171, allocations: 40 kB / 0.6915 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.2196, allocations: 1.127 MB / 0.6926 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.2199, allocations: 143.4 kB / 0.6927 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005906/0.2205, allocations: 322.3 kB / 0.693 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.2234, allocations: 1.212 MB / 0.6942 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2234, allocations: 4 kB / 0.6942 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.536e-06/0.2234, allocations: 7.984 kB / 0.6942 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.079e-05/0.2234, allocations: 3.938 kB / 0.6942 GB, free: 7.473 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.002254/0.2257, allocations: 1.045 MB / 0.6953 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2258, allocations: 12.03 kB / 0.6953 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.2268, allocations: 172 kB / 0.6954 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.2281, allocations: 0.5956 MB / 0.696 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.2282, allocations: 33 kB / 0.696 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/0.2283, allocations: 36 kB / 0.6961 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.2293, allocations: 499.9 kB / 0.6966 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2294, allocations: 3.938 kB / 0.6966 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-05/0.2294, allocations: 16 kB / 0.6966 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.2295, allocations: 16 kB / 0.6966 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2305, allocations: 402.6 kB / 0.697 GB, free: 4.547 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.003109/0.2336, allocations: 2.278 MB / 0.6992 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009799/0.2346, allocations: 363 kB / 0.6995 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/0.2351, allocations: 225 kB / 0.6998 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.2354, allocations: 348.6 kB / 0.7001 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006643/0.2361, allocations: 305.9 kB / 0.7004 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.2361, allocations: 0 / 0.7004 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002279/0.2384, allocations: 0.843 MB / 0.7012 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.2384, allocations: 85.11 kB / 0.7013 GB, free: 15.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.239, allocations: 495 kB / 0.7018 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.2391, allocations: 33.7 kB / 0.7018 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.2393, allocations: 280.4 kB / 0.7021 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2394, allocations: 110.4 kB / 0.7022 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.2396, allocations: 77.62 kB / 0.7022 GB, free: 14.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.2398, allocations: 366.7 kB / 0.7026 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.2403, allocations: 180.5 kB / 0.7028 GB, free: 14.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.2408, allocations: 261.2 kB / 0.703 GB, free: 13.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.2417, allocations: 470.1 kB / 0.7035 GB, free: 13.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.2417, allocations: 0 / 0.7035 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001428/0.2432, allocations: 0.6046 MB / 0.704 GB, free: 12.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.2432, allocations: 33.7 kB / 0.7041 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2432, allocations: 7.938 kB / 0.7041 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.2436, allocations: 76.72 kB / 0.7042 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.244, allocations: 76.11 kB / 0.7042 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004643/0.2444, allocations: 0.5953 MB / 0.7048 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.245, allocations: 63.66 kB / 0.7049 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.2451, allocations: 19.98 kB / 0.7049 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005939/0.2457, allocations: 311.8 kB / 0.7052 GB, free: 11.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004772/0.2462, allocations: 257.2 kB / 0.7054 GB, free: 11.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008838/0.247, allocations: 460.8 kB / 0.7059 GB, free: 10.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.2471, allocations: 0 / 0.7059 GB, free: 10.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001307/0.2484, allocations: 0.5851 MB / 0.7064 GB, free: 10.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.2484, allocations: 45.72 kB / 0.7065 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2484, allocations: 4 kB / 0.7065 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.2486, allocations: 48.83 kB / 0.7065 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.249, allocations: 75.81 kB / 0.7066 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.2505, allocations: 1.803 MB / 0.7084 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.2511, allocations: 55.7 kB / 0.7084 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.2511, allocations: 16.17 kB / 0.7084 GB, free: 8.027 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.0002472/0.2514, allocations: 235.3 kB / 0.7087 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.2515, allocations: 55.34 kB / 0.7087 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.2529, allocations: 0.6545 MB / 0.7094 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.253, allocations: 4.047 kB / 0.7094 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.253, allocations: 3.984 kB / 0.7094 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/0.2542, allocations: 0.8024 MB / 0.7101 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.2565, allocations: 1.296 MB / 0.7114 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2565, allocations: 0 / 0.7114 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.2568, allocations: 67.98 kB / 0.7115 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.257, allocations: 44.81 kB / 0.7115 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.257, allocations: 12 kB / 0.7115 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000354/0.2574, allocations: 0.5796 MB / 0.7121 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.2574, allocations: 4.031 kB / 0.7121 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.2593, allocations: 0.9576 MB / 0.713 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.2595, allocations: 176.3 kB / 0.7132 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/0.2597, allocations: 12.06 kB / 0.7132 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.2602, allocations: 39.95 kB / 0.7133 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.2602, allocations: 23.91 kB / 0.7133 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.2603, allocations: 19.98 kB / 0.7133 GB, free: 2.781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004244/0.2607, allocations: 358.8 kB / 0.7136 GB, free: 2.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2607, allocations: 0 / 0.7136 GB, free: 2.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001101/0.2618, allocations: 331.5 kB / 0.714 GB, free: 2.109 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007938/0.2626, allocations: 307.7 kB / 0.7142 GB, free: 1.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00212/0.2648, allocations: 0.9711 MB / 0.7152 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2648, allocations: 0 / 0.7152 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.2654, allocations: 323.5 kB / 0.7155 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.2667, allocations: 215.2 kB / 0.7157 GB, free: 284 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.269, allocations: 1.138 MB / 0.7168 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.2695, allocations: 0.8784 MB / 0.7177 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.2696, allocations: 47.42 kB / 0.7177 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.793e-06/0.2696, allocations: 0 / 0.7177 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.01677/0.2864, allocations: 11.45 MB / 0.7289 GB, free: 2.766 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)