Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.MoverStages,fileNamePrefix="IDEAS_dev_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.001058/0.001058, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7166/0.7166, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.778/1.778, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.000954/0.000954, allocations: 97.94 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.969e-05/4.971e-05, allocations: 2.531 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1626, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.394, allocations: 407.2 MB / 1.038 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.395, allocations: 87.95 kB / 1.038 GB, free: 214.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.299/10.69, allocations: 2.375 GB / 3.413 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.845e-06/10.69, allocations: 3.938 kB / 3.413 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001135/10.69, allocations: 111.9 kB / 3.413 GB, free: 1.086 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.01652/10.71, allocations: 4.037 MB / 3.417 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/10.71, allocations: 12.03 kB / 3.417 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001575/10.71, allocations: 287.1 kB / 3.418 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008995/10.72, allocations: 1.196 MB / 3.419 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8248/11.55, allocations: 31.6 MB / 3.45 GB, free: 54.94 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/11.55, allocations: 186.7 kB / 3.45 GB, free: 54.93 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/11.55, allocations: 245.1 kB / 3.45 GB, free: 54.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/11.56, allocations: 2.787 MB / 3.453 GB, free: 54.54 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/11.56, allocations: 6.547 kB / 3.453 GB, free: 54.54 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008077/11.56, allocations: 87.62 kB / 3.453 GB, free: 54.54 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/11.56, allocations: 53.19 kB / 3.453 GB, free: 54.54 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006229/11.57, allocations: 1.923 MB / 3.455 GB, free: 54.53 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.03487/11.6, allocations: 13.28 MB / 3.468 GB, free: 49.98 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/11.6, allocations: 1.443 MB / 3.469 GB, free: 49.95 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/11.61, allocations: 0.6311 MB / 3.47 GB, free: 49.94 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/11.62, allocations: 5.282 MB / 3.475 GB, free: 48.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/11.62, allocations: 1.135 MB / 3.476 GB, free: 48.04 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002684/11.62, allocations: 229.4 kB / 3.476 GB, free: 47.99 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 8.687e-06/11.62, allocations: 0 / 3.476 GB, free: 47.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.005934/11.63, allocations: 2.013 MB / 3.478 GB, free: 47.67 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/11.63, allocations: 111.3 kB / 3.478 GB, free: 47.54 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/11.64, allocations: 5.236 MB / 3.483 GB, free: 47.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000764/11.64, allocations: 59.95 kB / 3.483 GB, free: 47.17 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003375/11.65, allocations: 2.146 MB / 3.486 GB, free: 46.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008983/11.65, allocations: 323.4 kB / 3.486 GB, free: 46.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004885/11.65, allocations: 38.47 kB / 3.486 GB, free: 46.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000241/11.65, allocations: 391 kB / 3.486 GB, free: 46.33 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/11.65, allocations: 0.7775 MB / 3.487 GB, free: 46.32 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/11.65, allocations: 1.835 MB / 3.489 GB, free: 45.02 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/11.65, allocations: 0.9953 MB / 3.49 GB, free: 44.99 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.475e-05/11.65, allocations: 11.09 kB / 3.49 GB, free: 44.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00742/11.66, allocations: 3.008 MB / 3.493 GB, free: 44.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.004086/11.66, allocations: 13.79 MB / 3.506 GB, free: 30.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.948e-05/11.66, allocations: 27.56 kB / 3.506 GB, free: 30.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/11.67, allocations: 353.5 kB / 3.507 GB, free: 30.13 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/11.67, allocations: 0.5456 MB / 3.507 GB, free: 30.13 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005726/11.68, allocations: 5.22 MB / 3.512 GB, free: 41.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005245/11.68, allocations: 188.8 kB / 3.512 GB, free: 41.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008813/11.68, allocations: 214 kB / 3.513 GB, free: 41.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/11.68, allocations: 3.094 kB / 3.513 GB, free: 41.7 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006412/11.69, allocations: 2.733 MB / 3.515 GB, free: 41.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/11.69, allocations: 31.56 kB / 3.515 GB, free: 41.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/11.69, allocations: 359.9 kB / 3.516 GB, free: 41.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/11.69, allocations: 0.5818 MB / 3.516 GB, free: 41.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/11.69, allocations: 2.523 MB / 3.519 GB, free: 39.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004433/11.7, allocations: 181.6 kB / 3.519 GB, free: 39.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/11.7, allocations: 205 kB / 3.519 GB, free: 39.53 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.001189/11.7, allocations: 253.8 kB / 3.519 GB, free: 39.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/11.7, allocations: 437.2 kB / 3.52 GB, free: 39.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008154/11.71, allocations: 2.585 MB / 3.522 GB, free: 39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/11.71, allocations: 17.89 kB / 3.522 GB, free: 39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/11.71, allocations: 3.562 kB / 3.522 GB, free: 39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/11.71, allocations: 3.938 kB / 3.522 GB, free: 39 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.01831/11.73, allocations: 5.962 MB / 3.528 GB, free: 38.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/11.73, allocations: 0 / 3.528 GB, free: 38.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/11.73, allocations: 225.7 kB / 3.528 GB, free: 38.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/11.73, allocations: 383 kB / 3.529 GB, free: 38.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/11.73, allocations: 44.14 kB / 3.529 GB, free: 38.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/11.73, allocations: 4.904 MB / 3.533 GB, free: 34.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/11.73, allocations: 1.781 kB / 3.533 GB, free: 34.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005718/11.74, allocations: 2.432 MB / 3.536 GB, free: 33.51 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003745/11.74, allocations: 0.9558 MB / 3.537 GB, free: 33.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002076/11.75, allocations: 28.92 kB / 3.537 GB, free: 33.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/11.75, allocations: 162.8 kB / 3.537 GB, free: 33.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/11.75, allocations: 88.08 kB / 3.537 GB, free: 33.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/11.75, allocations: 82.94 kB / 3.537 GB, free: 33.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.01042/11.76, allocations: 3.969 MB / 3.541 GB, free: 32.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.553e-06/11.76, allocations: 0 / 3.541 GB, free: 32.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01313/11.77, allocations: 1.993 MB / 3.543 GB, free: 32.83 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.0141/11.79, allocations: 5.371 MB / 3.548 GB, free: 31.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01104/11.8, allocations: 3.78 MB / 3.552 GB, free: 31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/11.8, allocations: 0 / 3.552 GB, free: 31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/11.8, allocations: 0.8538 MB / 3.553 GB, free: 30.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/11.81, allocations: 2.164 MB / 3.555 GB, free: 30.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/11.84, allocations: 6.787 MB / 3.561 GB, free: 29.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005611/11.85, allocations: 2.71 MB / 3.564 GB, free: 28.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01378/11.86, allocations: 2.239 MB / 3.566 GB, free: 28.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003467/11.86, allocations: 1.821 MB / 3.568 GB, free: 28.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.132e-06/11.86, allocations: 0 / 3.568 GB, free: 28.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.03/12.89, allocations: 161.7 MB / 3.726 GB, free: 73.48 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/12.89, allocations: 208.4 kB / 3.726 GB, free: 73.26 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.861/20.75, allocations: 0 / 3.726 GB, free: 73.26 MB / 0.7917 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_MoverStages.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.MoverStages.pipe 2>&1)