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.001367/0.001367, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001537/0.001537, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7653/0.7653, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 0.5067 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.362, allocations: 80.92 MB / 0.5858 GB, free: 25.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5339/0.896, allocations: 194 MB / 0.7752 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00869/0.9047, allocations: 6.931 MB / 0.782 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.9061, allocations: 45.91 kB / 0.782 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.9077, allocations: 0.6868 MB / 0.7827 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.9128, allocations: 2.329 MB / 0.785 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.9156, allocations: 1.431 MB / 0.7863 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.9186, allocations: 2.99 MB / 0.7893 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009721/0.9196, allocations: 0.8937 MB / 0.7901 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.9216, allocations: 1.142 MB / 0.7913 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.9227, allocations: 0.7921 MB / 0.792 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.9228, allocations: 101.5 kB / 0.7921 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.9267, allocations: 2.055 MB / 0.7941 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.927, allocations: 369.9 kB / 0.7945 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.9276, allocations: 0.5914 MB / 0.7951 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.9308, allocations: 2.409 MB / 0.7974 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9308, allocations: 0.8125 kB / 0.7974 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9309, allocations: 0 / 0.7974 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.9309, allocations: 0.9062 kB / 0.7974 GB, free: 1.082 MB / 0.5762 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.003005/0.9339, allocations: 1.634 MB / 0.799 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.9339, allocations: 11.95 kB / 0.799 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.9366, allocations: 0.5347 MB / 0.7995 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.9388, allocations: 1.041 MB / 0.8006 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.9388, allocations: 58.75 kB / 0.8006 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.939, allocations: 71.64 kB / 0.8007 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.9411, allocations: 1.106 MB / 0.8018 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.9411, allocations: 0 / 0.8018 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-05/0.9412, allocations: 31.03 kB / 0.8018 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.9412, allocations: 34.84 kB / 0.8018 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.9438, allocations: 1.166 MB / 0.803 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004921/0.9487, allocations: 3.158 MB / 0.8061 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.9503, allocations: 0.6951 MB / 0.8067 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.951, allocations: 420.9 kB / 0.8071 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009338/0.952, allocations: 1.02 MB / 0.8081 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000951/0.9529, allocations: 0.5186 MB / 0.8086 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.865e-06/0.9529, allocations: 1 kB / 0.8086 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.002598/0.9555, allocations: 1.213 MB / 0.8098 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.9556, allocations: 148.1 kB / 0.81 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.9573, allocations: 1.177 MB / 0.8111 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.9574, allocations: 39.08 kB / 0.8111 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.9577, allocations: 435.9 kB / 0.8116 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.9579, allocations: 186.7 kB / 0.8117 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.9581, allocations: 148.6 kB / 0.8119 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9583, allocations: 334 kB / 0.8122 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.9594, allocations: 441.4 kB / 0.8126 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.9606, allocations: 0.5951 MB / 0.8132 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.9624, allocations: 0.9269 MB / 0.8141 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.9624, allocations: 5.812 kB / 0.8141 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002646/0.9651, allocations: 1.195 MB / 0.8153 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.9651, allocations: 41.47 kB / 0.8153 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9651, allocations: 3.375 kB / 0.8153 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9651, allocations: 4.781 kB / 0.8153 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/0.966, allocations: 191.5 kB / 0.8155 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.966, allocations: 4.969 kB / 0.8155 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.9674, allocations: 245.1 kB / 0.8158 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/0.9675, allocations: 38.88 kB / 0.8158 GB, free: 11.82 MB / 0.5919 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.0004166/0.9679, allocations: 327.8 kB / 0.8161 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.9681, allocations: 117.4 kB / 0.8162 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.97, allocations: 0.9947 MB / 0.8172 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.97, allocations: 13.75 kB / 0.8172 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.97, allocations: 0 / 0.8172 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.9701, allocations: 11.16 kB / 0.8172 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.9746, allocations: 3.162 MB / 0.8203 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.9746, allocations: 4.844 kB / 0.8203 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.9751, allocations: 124.6 kB / 0.8204 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.9752, allocations: 11.31 kB / 0.8204 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.9752, allocations: 25.16 kB / 0.8205 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.9752, allocations: 18.05 kB / 0.8205 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9753, allocations: 11.75 kB / 0.8205 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.9772, allocations: 1.339 MB / 0.8218 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.9777, allocations: 325.9 kB / 0.8221 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.9779, allocations: 21.75 kB / 0.8221 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.9789, allocations: 98.77 kB / 0.8222 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.979, allocations: 62.05 kB / 0.8223 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.9791, allocations: 43.03 kB / 0.8223 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001334/0.9804, allocations: 0.8485 MB / 0.8231 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9804, allocations: 0 / 0.8231 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009964/0.9814, allocations: 300 kB / 0.8234 GB, free: 8.121 MB / 0.5919 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.0006291/0.9821, allocations: 361.8 kB / 0.8238 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.9843, allocations: 1.02 MB / 0.8248 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9843, allocations: 4 kB / 0.8248 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008376/0.9851, allocations: 0.5113 MB / 0.8253 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.9874, allocations: 0.5479 MB / 0.8258 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.9907, allocations: 2.019 MB / 0.8278 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/0.9913, allocations: 1.069 MB / 0.8288 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009328/0.9923, allocations: 274.2 kB / 0.8291 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.9925, allocations: 87.06 kB / 0.8292 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.9926, allocations: 0 / 0.8292 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of Templates: time 0.0328/1.025, allocations: 22.03 MB / 0.8507 GB, free: 14.81 MB / 0.6231 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)