Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 109 kB / 16.41 MB, free: 6.488 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.001383/0.001384, 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8326/0.8326, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.83 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1529, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.677/0.8299, allocations: 239.9 MB / 0.8995 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.8489, allocations: 7.192 MB / 0.9066 GB, free: 8.016 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.8516, allocations: 55.62 kB / 0.9066 GB, free: 7.961 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.8539, allocations: 0.6949 MB / 0.9073 GB, free: 7.262 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005984/0.8599, allocations: 2.068 MB / 0.9093 GB, free: 5.188 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0052/0.8652, allocations: 2.035 MB / 0.9113 GB, free: 3.164 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004815/0.87, allocations: 3.262 MB / 0.9145 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.872, allocations: 1.145 MB / 0.9156 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/0.8761, allocations: 1.821 MB / 0.9174 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.8783, allocations: 0.9691 MB / 0.9183 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003922/0.8787, allocations: 124 kB / 0.9184 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005225/0.884, allocations: 2.486 MB / 0.9209 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007123/0.8847, allocations: 458.7 kB / 0.9213 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.8862, allocations: 0.7233 MB / 0.922 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005535/0.8917, allocations: 2.688 MB / 0.9246 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8918, allocations: 0 / 0.9246 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.741e-06/0.8918, allocations: 7.984 kB / 0.9246 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.565e-05/0.8919, allocations: 0 / 0.9246 GB, free: 5.438 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003896/0.8958, allocations: 1.701 MB / 0.9263 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.8958, allocations: 13.11 kB / 0.9263 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.8987, allocations: 422 kB / 0.9267 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.9008, allocations: 1.03 MB / 0.9277 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.9009, allocations: 62 kB / 0.9278 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.9011, allocations: 87.31 kB / 0.9279 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.9029, allocations: 0.8623 MB / 0.9287 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.903, allocations: 0 / 0.9287 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.95e-05/0.9031, allocations: 36 kB / 0.9287 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.9031, allocations: 26 kB / 0.9288 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.9047, allocations: 0.8042 MB / 0.9296 GB, free: 312 kB / 0.6856 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.005488/0.9102, allocations: 3.646 MB / 0.9331 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.9117, allocations: 1.094 MB / 0.9342 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006016/0.9124, allocations: 370.4 kB / 0.9345 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007155/0.9131, allocations: 412.9 kB / 0.9349 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.9131, allocations: 39.12 kB / 0.935 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.455e-06/0.9131, allocations: 0 / 0.935 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.002199/0.9154, allocations: 0.9546 MB / 0.9359 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.9154, allocations: 55.97 kB / 0.936 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.9167, allocations: 0.8477 MB / 0.9368 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.9168, allocations: 37.7 kB / 0.9368 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.9172, allocations: 484 kB / 0.9373 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.9174, allocations: 216.9 kB / 0.9375 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.9176, allocations: 110.2 kB / 0.9376 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9177, allocations: 330 kB / 0.9379 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.9182, allocations: 255 kB / 0.9382 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/0.9188, allocations: 368.3 kB / 0.9385 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.9199, allocations: 0.593 MB / 0.9391 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.9199, allocations: 0 / 0.9391 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001399/0.9213, allocations: 0.732 MB / 0.9398 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9213, allocations: 5.719 kB / 0.9398 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9213, allocations: 0 / 0.9398 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.9214, allocations: 7.984 kB / 0.9398 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.922, allocations: 135.9 kB / 0.9399 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.922, allocations: 4 kB / 0.9399 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007998/0.9228, allocations: 67.48 kB / 0.94 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.9228, allocations: 20 kB / 0.94 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008426/0.9237, allocations: 493 kB / 0.9405 GB, free: 4.473 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005657/0.9243, allocations: 368.3 kB / 0.9408 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000996/0.9253, allocations: 0.5813 MB / 0.9414 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.9253, allocations: 0 / 0.9414 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001354/0.9266, allocations: 0.7319 MB / 0.9421 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.9267, allocations: 8 kB / 0.9421 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.9267, allocations: 0 / 0.9421 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.9267, allocations: 7.938 kB / 0.9421 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.9272, allocations: 123.8 kB / 0.9423 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9273, allocations: 4 kB / 0.9423 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.9281, allocations: 72.48 kB / 0.9423 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.9281, allocations: 24 kB / 0.9424 GB, free: 2.504 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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.0002145/0.9283, allocations: 216.1 kB / 0.9426 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.9286, allocations: 102.8 kB / 0.9427 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.9301, allocations: 0.7385 MB / 0.9434 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.9301, allocations: 8 kB / 0.9434 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9301, allocations: 0 / 0.9434 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/0.9313, allocations: 0.8995 MB / 0.9443 GB, free: 464 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.935, allocations: 2.247 MB / 0.9465 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.935, allocations: 4 kB / 0.9465 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.9357, allocations: 136.2 kB / 0.9466 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.9357, allocations: 12 kB / 0.9466 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.9358, allocations: 20 kB / 0.9466 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.9358, allocations: 7.984 kB / 0.9466 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.9358, allocations: 7.938 kB / 0.9466 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.9378, allocations: 1.25 MB / 0.9479 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.9383, allocations: 263.7 kB / 0.9481 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.9385, allocations: 16 kB / 0.9481 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007378/0.9393, allocations: 47.86 kB / 0.9482 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9394, allocations: 52.25 kB / 0.9482 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.9395, allocations: 20 kB / 0.9482 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009281/0.9404, allocations: 0.5901 MB / 0.9488 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9404, allocations: 0 / 0.9488 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001388/0.9418, allocations: 0.5338 MB / 0.9493 GB, free: 11.03 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005603/0.9424, allocations: 233.9 kB / 0.9496 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.9443, allocations: 0.9466 MB / 0.9505 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.9443, allocations: 0 / 0.9505 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.9449, allocations: 347.5 kB / 0.9508 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.9478, allocations: 0.6103 MB / 0.9514 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.9513, allocations: 2.167 MB / 0.9535 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/0.9521, allocations: 1.12 MB / 0.9546 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.9524, allocations: 91.42 kB / 0.9547 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of SimCode: time 9.82e-07/0.9524, allocations: 0 / 0.9547 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.026/0.9784, allocations: 17.19 MB / 0.9715 GB, free: 4.379 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)