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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7239/0.7239, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008831/0.0008833, allocations: 101.6 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.185e-05, allocations: 3 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1641, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.35, allocations: 407.2 MB / 1.038 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/1.35, allocations: 87.95 kB / 1.038 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.969/10.32, allocations: 2.375 GB / 3.413 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.154e-06/10.32, allocations: 0 / 3.413 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0008174/10.32, allocations: 111.9 kB / 3.413 GB, free: 0.7344 MB / 0.7448 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.01631/10.34, allocations: 4.033 MB / 3.417 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.005e-05/10.34, allocations: 16.03 kB / 3.417 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00111/10.34, allocations: 283 kB / 3.418 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008419/10.35, allocations: 1.188 MB / 3.419 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8234/11.17, allocations: 31.61 MB / 3.45 GB, free: 54.7 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/11.17, allocations: 190.5 kB / 3.45 GB, free: 54.69 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/11.17, allocations: 237.8 kB / 3.45 GB, free: 54.69 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006063/11.18, allocations: 2.79 MB / 3.453 GB, free: 54.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.868e-05/11.18, allocations: 2.969 kB / 3.453 GB, free: 54.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/11.18, allocations: 90.09 kB / 3.453 GB, free: 54.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-05/11.18, allocations: 49.53 kB / 3.453 GB, free: 54.3 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/11.18, allocations: 1.927 MB / 3.455 GB, free: 54.29 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or 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.02693/11.21, allocations: 13.28 MB / 3.468 GB, free: 49.74 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/11.21, allocations: 1.451 MB / 3.469 GB, free: 49.7 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009082/11.21, allocations: 0.6336 MB / 3.47 GB, free: 49.7 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/11.22, allocations: 5.273 MB / 3.475 GB, free: 47.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/11.22, allocations: 1.136 MB / 3.476 GB, free: 47.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003431/11.23, allocations: 234.9 kB / 3.476 GB, free: 47.75 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 8.416e-06/11.23, allocations: 0 / 3.476 GB, free: 47.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.006137/11.23, allocations: 2.002 MB / 3.478 GB, free: 47.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/11.23, allocations: 115 kB / 3.478 GB, free: 47.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/11.24, allocations: 5.241 MB / 3.483 GB, free: 46.96 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007735/11.24, allocations: 61.95 kB / 3.483 GB, free: 46.93 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002211/11.25, allocations: 2.15 MB / 3.486 GB, free: 46.55 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007095/11.25, allocations: 317.7 kB / 3.486 GB, free: 46.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/11.25, allocations: 40.75 kB / 3.486 GB, free: 46.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001395/11.25, allocations: 388.8 kB / 3.486 GB, free: 46.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/11.25, allocations: 0.7787 MB / 3.487 GB, free: 46.08 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/11.25, allocations: 1.829 MB / 3.489 GB, free: 44.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/11.25, allocations: 0.9994 MB / 3.49 GB, free: 44.75 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/11.25, allocations: 8.938 kB / 3.49 GB, free: 44.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005925/11.26, allocations: 3.005 MB / 3.493 GB, free: 44.42 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.003546/11.26, allocations: 13.79 MB / 3.506 GB, free: 29.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.317e-05/11.26, allocations: 31.78 kB / 3.506 GB, free: 29.92 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/11.26, allocations: 359.6 kB / 3.507 GB, free: 29.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/11.27, allocations: 0.5444 MB / 3.507 GB, free: 29.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/11.27, allocations: 5.219 MB / 3.512 GB, free: 41.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005079/11.28, allocations: 185.4 kB / 3.512 GB, free: 41.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006338/11.28, allocations: 213.6 kB / 3.513 GB, free: 41.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/11.28, allocations: 3.938 kB / 3.513 GB, free: 41.46 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004465/11.28, allocations: 2.743 MB / 3.515 GB, free: 41.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.852e-05/11.28, allocations: 26.53 kB / 3.515 GB, free: 41.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008724/11.28, allocations: 361.5 kB / 3.516 GB, free: 41.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/11.28, allocations: 0.5843 MB / 3.516 GB, free: 41.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/11.29, allocations: 2.524 MB / 3.519 GB, free: 39.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004198/11.29, allocations: 177.3 kB / 3.519 GB, free: 39.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003886/11.29, allocations: 210.9 kB / 3.519 GB, free: 39.29 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * 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: 4 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008758/11.29, allocations: 247.5 kB / 3.519 GB, free: 39.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/11.29, allocations: 439.9 kB / 3.52 GB, free: 38.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006162/11.3, allocations: 2.58 MB / 3.522 GB, free: 38.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/11.3, allocations: 10.78 kB / 3.522 GB, free: 38.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/11.3, allocations: 1.469 kB / 3.522 GB, free: 38.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/11.3, allocations: 7.078 kB / 3.522 GB, free: 38.77 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or 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.01341/11.31, allocations: 5.961 MB / 3.528 GB, free: 38.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/11.31, allocations: 2.875 kB / 3.528 GB, free: 38.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/11.31, allocations: 221.4 kB / 3.528 GB, free: 38.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009541/11.31, allocations: 381.7 kB / 3.529 GB, free: 38.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/11.32, allocations: 46.5 kB / 3.529 GB, free: 38.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/11.32, allocations: 4.911 MB / 3.533 GB, free: 33.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/11.32, allocations: 4.281 kB / 3.533 GB, free: 33.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/11.32, allocations: 2.427 MB / 3.536 GB, free: 33.28 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003167/11.33, allocations: 0.9467 MB / 3.537 GB, free: 32.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/11.33, allocations: 28.14 kB / 3.537 GB, free: 32.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/11.33, allocations: 164.7 kB / 3.537 GB, free: 32.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/11.33, allocations: 90.06 kB / 3.537 GB, free: 32.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/11.33, allocations: 79.88 kB / 3.537 GB, free: 32.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.008123/11.34, allocations: 3.969 MB / 3.541 GB, free: 32.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.52e-07/11.34, allocations: 0 / 3.541 GB, free: 32.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01157/11.35, allocations: 1.997 MB / 3.543 GB, free: 32.59 MB / 0.7761 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * 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: 6 * 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: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01171/11.36, allocations: 5.378 MB / 3.548 GB, free: 30.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00909/11.37, allocations: 3.782 MB / 3.552 GB, free: 30.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/11.37, allocations: 0 / 3.552 GB, free: 30.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/11.37, allocations: 0.8468 MB / 3.553 GB, free: 30.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/11.39, allocations: 2.169 MB / 3.555 GB, free: 30.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/11.41, allocations: 6.781 MB / 3.561 GB, free: 29.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005456/11.42, allocations: 2.711 MB / 3.564 GB, free: 28.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01338/11.43, allocations: 2.228 MB / 3.566 GB, free: 28.37 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004423/11.44, allocations: 1.823 MB / 3.568 GB, free: 28.36 MB / 0.7761 GB Notification: Performance of SimCode: time 2.424e-06/11.44, allocations: 0 / 3.568 GB, free: 28.36 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9787/12.41, allocations: 161.7 MB / 3.726 GB, free: 73.77 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/12.42, allocations: 203.7 kB / 3.726 GB, free: 73.55 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/20.56, allocations: 1.625 kB / 3.726 GB, free: 73.55 MB / 0.7917 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)