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.001284/0.001284, allocations: 107 kB / 16.41 MB, free: 6.496 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.00125/0.00125, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.391/1.391, 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-master/package.mo): time 0.8519/0.8519, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 61.81 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1889, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6975/0.8864, allocations: 194 MB / 0.8548 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.8982, allocations: 6.929 MB / 0.8615 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.9004, allocations: 47.22 kB / 0.8616 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.9029, allocations: 0.6935 MB / 0.8622 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006961/0.9099, allocations: 2.333 MB / 0.8645 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.914, allocations: 1.425 MB / 0.8659 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004797/0.9188, allocations: 2.988 MB / 0.8688 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.9206, allocations: 0.8982 MB / 0.8697 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.9238, allocations: 1.149 MB / 0.8708 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.9255, allocations: 0.793 MB / 0.8716 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.9259, allocations: 100 kB / 0.8717 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00421/0.9301, allocations: 2.062 MB / 0.8737 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.9307, allocations: 359 kB / 0.8741 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.932, allocations: 0.5908 MB / 0.8746 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005227/0.9373, allocations: 2.419 MB / 0.877 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9373, allocations: 0 / 0.877 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9373, allocations: 0 / 0.877 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.66e-05/0.9374, allocations: 0 / 0.877 GB, free: 6.547 MB / 0.6387 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.004429/0.9418, allocations: 1.64 MB / 0.8786 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9419, allocations: 13.05 kB / 0.8786 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.945, allocations: 0.5254 MB / 0.8791 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.9475, allocations: 1.053 MB / 0.8802 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.9476, allocations: 49.31 kB / 0.8802 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.9478, allocations: 72 kB / 0.8803 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.9504, allocations: 1.109 MB / 0.8814 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.9505, allocations: 3.938 kB / 0.8814 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/0.9506, allocations: 28 kB / 0.8814 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.9506, allocations: 33.3 kB / 0.8814 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.9537, allocations: 1.161 MB / 0.8825 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006029/0.9598, allocations: 3.16 MB / 0.8856 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.9615, allocations: 0.6833 MB / 0.8863 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/0.9623, allocations: 428.5 kB / 0.8867 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008986/0.9633, allocations: 1.017 MB / 0.8877 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.9643, allocations: 0.5182 MB / 0.8882 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.835e-06/0.9644, allocations: 3.938 kB / 0.8882 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.003346/0.9677, allocations: 1.236 MB / 0.8894 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.9679, allocations: 136.9 kB / 0.8896 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.9703, allocations: 1.172 MB / 0.8907 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.9704, allocations: 41.7 kB / 0.8907 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.9709, allocations: 441.4 kB / 0.8912 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.9711, allocations: 193.2 kB / 0.8913 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.9714, allocations: 142.1 kB / 0.8915 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.9716, allocations: 326 kB / 0.8918 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.9729, allocations: 440.9 kB / 0.8922 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.9743, allocations: 0.5938 MB / 0.8928 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/0.9766, allocations: 0.9262 MB / 0.8937 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9766, allocations: 4 kB / 0.8937 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003341/0.9799, allocations: 1.193 MB / 0.8949 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.98, allocations: 37.7 kB / 0.8949 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.98, allocations: 4 kB / 0.8949 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.9801, allocations: 12.22 kB / 0.8949 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.9811, allocations: 187.7 kB / 0.8951 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.9811, allocations: 7.984 kB / 0.8951 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.9827, allocations: 236 kB / 0.8953 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.9829, allocations: 47.91 kB / 0.8954 GB, free: 3.062 MB / 0.6544 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.0006391/0.9835, allocations: 326.4 kB / 0.8957 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.9839, allocations: 114.6 kB / 0.8958 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.9864, allocations: 0.9908 MB / 0.8968 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.9865, allocations: 19.92 kB / 0.8968 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.9865, allocations: 0 / 0.8968 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.9865, allocations: 0 / 0.8968 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.9922, allocations: 3.166 MB / 0.8999 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/0.9923, allocations: 4 kB / 0.8999 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.9929, allocations: 124.2 kB / 0.9 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/0.9929, allocations: 16 kB / 0.9 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.993, allocations: 23.98 kB / 0.9 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/0.993, allocations: 15.94 kB / 0.9 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.9931, allocations: 11.94 kB / 0.9001 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/0.9956, allocations: 1.345 MB / 0.9014 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006558/0.9962, allocations: 323.4 kB / 0.9017 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.9965, allocations: 23.98 kB / 0.9017 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.9977, allocations: 99.91 kB / 0.9018 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.9979, allocations: 63.75 kB / 0.9019 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.18e-05/0.998, allocations: 35.98 kB / 0.9019 GB, free: 12.06 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001782/0.9998, allocations: 0.8521 MB / 0.9027 GB, free: 11.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9998, allocations: 0 / 0.9027 GB, free: 11.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001299/1.001, allocations: 303.8 kB / 0.903 GB, free: 10.9 MB / 0.67 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.000871/1.002, allocations: 342.1 kB / 0.9033 GB, free: 10.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002716/1.005, allocations: 1.017 MB / 0.9043 GB, free: 9.543 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.005, allocations: 0 / 0.9043 GB, free: 9.543 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009926/1.006, allocations: 0.5087 MB / 0.9048 GB, free: 9.023 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/1.009, allocations: 0.5569 MB / 0.9054 GB, free: 8.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/1.013, allocations: 2.077 MB / 0.9074 GB, free: 6.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/1.014, allocations: 1.069 MB / 0.9084 GB, free: 5.168 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/1.015, allocations: 87.41 kB / 0.9085 GB, free: 5.082 MB / 0.67 GB Notification: Performance of SimCode: time 6.32e-07/1.015, allocations: 0 / 0.9085 GB, free: 5.082 MB / 0.67 GB Notification: Performance of Templates: time 0.03213/1.047, allocations: 18.8 MB / 0.9269 GB, free: 2.371 MB / 0.6856 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)