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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.MoverStages,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.MoverStages,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.002079/0.002079, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.654/2.654, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.336/1.336, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005865/0.0005867, allocations: 12 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9021, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.MoverStages): time 0.1519/1.054, allocations: 79.73 MB / 0.6608 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.06909/1.123, allocations: 26.67 MB / 0.6869 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/1.135, allocations: 123.2 kB / 0.687 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/1.147, allocations: 1.636 MB / 0.6886 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0278/1.175, allocations: 4.615 MB / 0.6931 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02028/1.195, allocations: 3.71 MB / 0.6967 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01993/1.215, allocations: 5.458 MB / 0.702 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008698/1.224, allocations: 2.668 MB / 0.7046 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01407/1.238, allocations: 2.768 MB / 0.7073 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008255/1.247, allocations: 1.933 MB / 0.7092 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002594/1.249, allocations: 164 kB / 0.7094 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/1.26, allocations: 1.779 MB / 0.7111 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003842/1.264, allocations: 1.285 MB / 0.7124 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004439/1.268, allocations: 0.9912 MB / 0.7134 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01517/1.284, allocations: 5.973 MB / 0.7192 GB, free: 4.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.284, allocations: 0 / 0.7192 GB, free: 4.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.568e-06/1.284, allocations: 0 / 0.7192 GB, free: 4.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003359/1.284, allocations: 4 kB / 0.7192 GB, free: 4.84 MB / 0.545 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.02168/1.306, allocations: 5.355 MB / 0.7244 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/1.306, allocations: 12.03 kB / 0.7244 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00134/1.307, allocations: 287.1 kB / 0.7247 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/1.318, allocations: 1.344 MB / 0.726 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0262/1.345, allocations: 8.694 MB / 0.7345 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/1.346, allocations: 312.9 kB / 0.7348 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/1.347, allocations: 236 kB / 0.735 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/1.358, allocations: 2.942 MB / 0.7379 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/1.358, allocations: 3.938 kB / 0.7379 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003821/1.358, allocations: 84 kB / 0.738 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-05/1.358, allocations: 63.98 kB / 0.738 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009803/1.368, allocations: 2.201 MB / 0.7402 GB, free: 15.02 MB / 0.5762 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.04197/1.41, allocations: 12.69 MB / 0.7526 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00802/1.418, allocations: 1.727 MB / 0.7543 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/1.432, allocations: 4.409 MB / 0.7586 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0042/1.436, allocations: 1.274 MB / 0.7598 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003648/1.44, allocations: 229.8 kB / 0.76 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 1.099e-05/1.44, allocations: 0 / 0.76 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.01288/1.453, allocations: 2.603 MB / 0.7626 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.453, allocations: 119.8 kB / 0.7627 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01849/1.471, allocations: 7.153 MB / 0.7697 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000925/1.472, allocations: 57.7 kB / 0.7697 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004028/1.477, allocations: 2.149 MB / 0.7718 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.478, allocations: 307.7 kB / 0.7721 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/1.478, allocations: 32 kB / 0.7722 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003018/1.478, allocations: 385.8 kB / 0.7725 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/1.482, allocations: 1.058 MB / 0.7736 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004974/1.487, allocations: 2.038 MB / 0.7756 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/1.492, allocations: 1.232 MB / 0.7768 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.28e-05/1.492, allocations: 8 kB / 0.7768 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.0139/1.506, allocations: 3.392 MB / 0.7801 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.007001/1.513, allocations: 13.36 MB / 0.7931 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/1.513, allocations: 28 kB / 0.7932 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.923e-05/1.513, allocations: 44 kB / 0.7932 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005944/1.519, allocations: 0.6241 MB / 0.7938 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/1.523, allocations: 2.996 MB / 0.7967 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006323/1.529, allocations: 233.3 kB / 0.797 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/1.53, allocations: 203.9 kB / 0.7971 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.53, allocations: 4 kB / 0.7972 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00979/1.54, allocations: 3.317 MB / 0.8004 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/1.54, allocations: 28.88 kB / 0.8004 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.525e-05/1.54, allocations: 44 kB / 0.8005 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/1.545, allocations: 0.628 MB / 0.8011 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.63e-05/1.545, allocations: 59.73 kB / 0.8011 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005866/1.551, allocations: 221 kB / 0.8013 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008419/1.552, allocations: 184 kB / 0.8015 GB, free: 13.57 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 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 218 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004256/1.556, allocations: 1.165 MB / 0.8027 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/1.558, allocations: 438.3 kB / 0.8031 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.568, allocations: 2.624 MB / 0.8056 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/1.568, allocations: 12 kB / 0.8056 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/1.568, allocations: 0 / 0.8056 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/1.569, allocations: 11.97 kB / 0.8057 GB, free: 9.297 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.01932/1.588, allocations: 5.436 MB / 0.811 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.588, allocations: 0 / 0.811 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.59, allocations: 299.6 kB / 0.8113 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005592/1.591, allocations: 145.6 kB / 0.8114 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/1.591, allocations: 51.94 kB / 0.8114 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/1.594, allocations: 2.667 MB / 0.814 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.594, allocations: 4.031 kB / 0.814 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5827/2.176, allocations: 2.469 MB / 0.8165 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003412/2.18, allocations: 0.7471 MB / 0.8172 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001685/2.182, allocations: 21.89 kB / 0.8172 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005148/2.187, allocations: 203.8 kB / 0.8174 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/2.187, allocations: 90.06 kB / 0.8175 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003659/2.188, allocations: 77.14 kB / 0.8176 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.01591/2.203, allocations: 5.123 MB / 0.8226 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9.92e-07/2.204, allocations: 0 / 0.8226 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01526/2.219, allocations: 1.796 MB / 0.8243 GB, free: 201.7 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 (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01659/2.235, allocations: 4.087 MB / 0.8283 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02072/2.256, allocations: 4.379 MB / 0.8326 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/2.256, allocations: 3.25 kB / 0.8326 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004986/2.261, allocations: 0.9635 MB / 0.8335 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0171/2.279, allocations: 2.182 MB / 0.8357 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03717/2.316, allocations: 30.28 MB / 0.8652 GB, free: 172.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004467/2.32, allocations: 2.698 MB / 0.8679 GB, free: 171 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01135/2.332, allocations: 1.197 MB / 0.869 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005134/2.337, allocations: 1.957 MB / 0.871 GB, free: 168.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.423e-06/2.337, allocations: 0 / 0.871 GB, free: 168.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3034/2.64, allocations: 129.5 MB / 0.9974 GB, free: 41.52 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003519/2.641, allocations: 231.4 kB / 0.9976 GB, free: 41.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.301/11.94, allocations: 4 kB / 0.9976 GB, free: 41.27 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_MoverStages.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1) Environment - environmentSimulation: