Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001406/0.001406, allocations: 194.3 kB / 16.14 MB, free: 6.656 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.051/1.051, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 69.48 kB / 0.5047 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.159, allocations: 80.93 MB / 0.5837 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4507/0.6098, allocations: 191.6 MB / 0.7708 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.6202, allocations: 6.99 MB / 0.7777 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.6218, allocations: 47.62 kB / 0.7777 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.6237, allocations: 0.5593 MB / 0.7783 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006302/0.63, allocations: 2.179 MB / 0.7804 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.6335, allocations: 1.289 MB / 0.7816 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005438/0.6389, allocations: 3.735 MB / 0.7853 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.6403, allocations: 0.7906 MB / 0.7861 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.6425, allocations: 0.9764 MB / 0.787 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.6442, allocations: 0.8017 MB / 0.7878 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.6444, allocations: 51.94 kB / 0.7879 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/0.6488, allocations: 2.233 MB / 0.79 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.6493, allocations: 318.9 kB / 0.7903 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000877/0.6501, allocations: 0.5361 MB / 0.7909 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.6542, allocations: 2.419 MB / 0.7932 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6542, allocations: 0 / 0.7932 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6542, allocations: 0 / 0.7932 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.6543, allocations: 0 / 0.7932 GB, free: 6.629 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003473/0.6577, allocations: 1.633 MB / 0.7948 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6578, allocations: 8.031 kB / 0.7948 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.6608, allocations: 0.537 MB / 0.7953 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.663, allocations: 0.9776 MB / 0.7963 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/0.6643, allocations: 281 kB / 0.7966 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.6644, allocations: 68 kB / 0.7966 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.667, allocations: 1.132 MB / 0.7977 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.667, allocations: 0 / 0.7977 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/0.6671, allocations: 24 kB / 0.7978 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.6671, allocations: 37.23 kB / 0.7978 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/0.6703, allocations: 1.203 MB / 0.799 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/0.6761, allocations: 3.199 MB / 0.8021 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.6778, allocations: 0.6919 MB / 0.8028 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/0.6786, allocations: 422.5 kB / 0.8032 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/0.6795, allocations: 1.021 MB / 0.8042 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009869/0.6805, allocations: 0.5104 MB / 0.8047 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.224e-06/0.6805, allocations: 4 kB / 0.8047 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.002929/0.6834, allocations: 1.228 MB / 0.8059 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.6835, allocations: 136.9 kB / 0.806 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00197/0.6855, allocations: 1.204 MB / 0.8072 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.505e-05/0.6856, allocations: 37.7 kB / 0.8072 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.6859, allocations: 445.4 kB / 0.8076 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.6861, allocations: 181.4 kB / 0.8078 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.6864, allocations: 146 kB / 0.808 GB, free: 7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6866, allocations: 334 kB / 0.8083 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.6878, allocations: 456.9 kB / 0.8087 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.6893, allocations: 0.6171 MB / 0.8093 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.6914, allocations: 0.9457 MB / 0.8102 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6914, allocations: 3.938 kB / 0.8102 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003402/0.6948, allocations: 1.233 MB / 0.8114 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.6949, allocations: 33.7 kB / 0.8115 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6949, allocations: 4 kB / 0.8115 GB, free: 3.266 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.6949, allocations: 12.03 kB / 0.8115 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.696, allocations: 204 kB / 0.8117 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.696, allocations: 11.94 kB / 0.8117 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.6976, allocations: 270.9 kB / 0.812 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/0.6977, allocations: 37.78 kB / 0.812 GB, free: 2.742 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000743/0.6984, allocations: 331.3 kB / 0.8123 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.6987, allocations: 114.6 kB / 0.8124 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.7008, allocations: 0.9897 MB / 0.8134 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.7009, allocations: 11.94 kB / 0.8134 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7009, allocations: 0 / 0.8134 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.7009, allocations: 7.984 kB / 0.8134 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005016/0.7059, allocations: 3.163 MB / 0.8165 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.7059, allocations: 4 kB / 0.8165 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.7066, allocations: 124 kB / 0.8166 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.7066, allocations: 15.94 kB / 0.8166 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.7067, allocations: 23.98 kB / 0.8167 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.7067, allocations: 15.98 kB / 0.8167 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.7067, allocations: 11.94 kB / 0.8167 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.7089, allocations: 1.337 MB / 0.818 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005579/0.7095, allocations: 331.4 kB / 0.8183 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.7097, allocations: 20 kB / 0.8183 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.7109, allocations: 111.9 kB / 0.8184 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.711, allocations: 67.7 kB / 0.8185 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.7111, allocations: 39.97 kB / 0.8185 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00153/0.7126, allocations: 0.8677 MB / 0.8194 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7126, allocations: 0 / 0.8194 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0011/0.7137, allocations: 299.8 kB / 0.8197 GB, free: 10.56 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007572/0.7145, allocations: 345.8 kB / 0.82 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.717, allocations: 1.014 MB / 0.821 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.717, allocations: 3.938 kB / 0.821 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009521/0.718, allocations: 0.5174 MB / 0.8215 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.7207, allocations: 0.5403 MB / 0.822 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.7246, allocations: 2.338 MB / 0.8243 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.7253, allocations: 1.073 MB / 0.8254 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001118/0.7264, allocations: 277.8 kB / 0.8256 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.7267, allocations: 75.42 kB / 0.8257 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.7267, allocations: 0 / 0.8257 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of Templates: time 0.03697/0.7637, allocations: 21.25 MB / 0.8464 GB, free: 15.24 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)