Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.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.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages") translateModel(IDEAS.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7229/0.7229, allocations: 132.2 MB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 68.95 kB / 0.5018 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3926, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.MoverStages): time 0.09052/0.4831, allocations: 95.09 MB / 0.6729 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04163/0.5248, allocations: 30.56 MB / 0.7028 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006779/0.5316, allocations: 155.1 kB / 0.7029 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006949/0.5386, allocations: 2.06 MB / 0.705 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01307/0.5517, allocations: 4.548 MB / 0.7094 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00919/0.5609, allocations: 3.785 MB / 0.7131 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01218/0.5731, allocations: 9.018 MB / 0.7219 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006564/0.5797, allocations: 3.472 MB / 0.7253 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008808/0.5885, allocations: 3.837 MB / 0.729 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.5937, allocations: 2.863 MB / 0.7318 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001904/0.5956, allocations: 415.9 kB / 0.7322 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009636/0.6053, allocations: 2.722 MB / 0.7349 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002819/0.6081, allocations: 1.682 MB / 0.7365 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005439/0.6136, allocations: 2.6 MB / 0.7391 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.6283, allocations: 7.84 MB / 0.7467 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.6284, allocations: 8 kB / 0.7467 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6284, allocations: 0 / 0.7467 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002559/0.6286, allocations: 0 / 0.7467 GB, free: 6.379 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01414/0.6428, allocations: 5.796 MB / 0.7524 GB, free: 500 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.6429, allocations: 12.03 kB / 0.7524 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006764/0.6496, allocations: 1.228 MB / 0.7536 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.6609, allocations: 5.089 MB / 0.7586 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008052/0.6618, allocations: 292.9 kB / 0.7589 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000683/0.6625, allocations: 232 kB / 0.7591 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006869/0.6693, allocations: 3.082 MB / 0.7621 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.6694, allocations: 4 kB / 0.7621 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003346/0.6697, allocations: 84 kB / 0.7622 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/0.6698, allocations: 52 kB / 0.7622 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005883/0.6757, allocations: 2.279 MB / 0.7644 GB, free: 3.918 MB / 0.5919 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.02348/0.6992, allocations: 12.8 MB / 0.7769 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005181/0.7044, allocations: 1.762 MB / 0.7787 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.7065, allocations: 0.7963 MB / 0.7794 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007703/0.7143, allocations: 4.405 MB / 0.7837 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002684/0.717, allocations: 1.355 MB / 0.7851 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=83): time 3.125e-06/0.717, allocations: 0 / 0.7851 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83): time 0.007174/0.7242, allocations: 2.658 MB / 0.7877 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.7243, allocations: 119.7 kB / 0.7878 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008133/0.7324, allocations: 5.004 MB / 0.7927 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002692/0.7327, allocations: 57.61 kB / 0.7927 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002065/0.7348, allocations: 2.113 MB / 0.7948 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.7352, allocations: 299.9 kB / 0.7951 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008463/0.7361, allocations: 499.1 kB / 0.7955 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.7362, allocations: 305.1 kB / 0.7958 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/0.7391, allocations: 1.594 MB / 0.7974 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.7428, allocations: 2.545 MB / 0.7999 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006807/0.7496, allocations: 4.022 MB / 0.8038 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.008e-05/0.7497, allocations: 15.94 kB / 0.8038 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.009259/0.7589, allocations: 4.417 MB / 0.8081 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.759, allocations: 17.56 kB / 0.8082 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.845e-05/0.7591, allocations: 28 kB / 0.8082 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.718e-05/0.7591, allocations: 40 kB / 0.8082 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003405/0.7625, allocations: 0.5856 MB / 0.8088 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.7651, allocations: 2.992 MB / 0.8117 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/0.7683, allocations: 317.8 kB / 0.812 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003238/0.7686, allocations: 179.9 kB / 0.8122 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3276/1.096, allocations: 2.251 MB / 0.8144 GB, free: 205.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00331/1.1, allocations: 2.246 MB / 0.8166 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006027/1.106, allocations: 3.46 MB / 0.82 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.067e-05/1.106, allocations: 8.219 kB / 0.82 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=253) (initialization_lambda0): time 0.00852/1.114, allocations: 3.812 MB / 0.8237 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/1.114, allocations: 16.28 kB / 0.8237 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.465e-05/1.114, allocations: 28.59 kB / 0.8237 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.397e-05/1.114, allocations: 39.31 kB / 0.8238 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.117, allocations: 0.6157 MB / 0.8244 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.08e-05/1.117, allocations: 62.56 kB / 0.8244 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/1.121, allocations: 226.4 kB / 0.8246 GB, free: 201.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/1.121, allocations: 177.4 kB / 0.8248 GB, free: 201.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 214 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005843/1.122, allocations: 314.9 kB / 0.8251 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000924/1.123, allocations: 426.9 kB / 0.8255 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006317/1.129, allocations: 2.608 MB / 0.8281 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/1.129, allocations: 13.17 kB / 0.8281 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.129, allocations: 5 kB / 0.8281 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.129, allocations: 5.25 kB / 0.8281 GB, free: 200.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/1.139, allocations: 5.148 MB / 0.8331 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.139, allocations: 1.031 kB / 0.8331 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/1.141, allocations: 275.4 kB / 0.8334 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/1.141, allocations: 140 kB / 0.8335 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/1.141, allocations: 43.84 kB / 0.8336 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/1.142, allocations: 2.669 MB / 0.8362 GB, free: 196 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.142, allocations: 1.344 kB / 0.8362 GB, free: 196 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005355/1.148, allocations: 2.4 MB / 0.8385 GB, free: 195 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.149, allocations: 0.6845 MB / 0.8392 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/1.15, allocations: 32.39 kB / 0.8392 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/1.151, allocations: 108 kB / 0.8393 GB, free: 194.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/1.152, allocations: 78.64 kB / 0.8394 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.152, allocations: 71.06 kB / 0.8395 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004767/1.156, allocations: 3.421 MB / 0.8428 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/1.156, allocations: 0 / 0.8428 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006015/1.162, allocations: 1.763 MB / 0.8445 GB, free: 193.1 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00223/1.165, allocations: 0.9754 MB / 0.8455 GB, free: 192.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.176, allocations: 5.028 MB / 0.8504 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.176, allocations: 0.875 kB / 0.8504 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.178, allocations: 1.008 MB / 0.8514 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009331/1.188, allocations: 2.308 MB / 0.8536 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.199, allocations: 7.491 MB / 0.8609 GB, free: 180.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.2, allocations: 2.612 MB / 0.8635 GB, free: 178.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004667/1.205, allocations: 1.114 MB / 0.8646 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000696/1.206, allocations: 315.3 kB / 0.8649 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/1.206, allocations: 1.422 kB / 0.8649 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.1231/1.329, allocations: 93.02 MB / 0.9557 GB, free: 84.77 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1)