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.01578/0.01578, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.248/1.248, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.913/2.913, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 100.8 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007198/0.0007198, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9902/0.9912, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.81/3.801, allocations: 407.2 MB / 1.047 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0008233/3.802, allocations: 99.83 kB / 1.047 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 16.4/20.2, allocations: 2.381 GB / 3.429 GB, free: 58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.3e-06/20.2, allocations: 0 / 3.429 GB, free: 58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001646/20.2, allocations: 111.9 kB / 3.429 GB, free: 57.89 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.04748/20.25, allocations: 7.85 MB / 3.436 GB, free: 49.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 9.076e-05/20.25, allocations: 12.03 kB / 3.436 GB, free: 49.93 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002421/20.25, allocations: 287.1 kB / 3.437 GB, free: 49.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/20.26, allocations: 1.185 MB / 3.438 GB, free: 48.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1272/20.39, allocations: 31.81 MB / 3.469 GB, free: 16.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006808/20.39, allocations: 188 kB / 3.469 GB, free: 16.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002551/20.39, allocations: 239.9 kB / 3.469 GB, free: 16.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/20.41, allocations: 2.907 MB / 3.472 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002408/20.41, allocations: 0 / 3.472 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002144/20.41, allocations: 87.94 kB / 3.472 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/20.41, allocations: 52 kB / 3.472 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/20.43, allocations: 2.123 MB / 3.474 GB, free: 10.77 MB / 0.7448 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.06219/20.49, allocations: 13.28 MB / 3.487 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/20.5, allocations: 1.628 MB / 3.489 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02776/20.53, allocations: 5.248 MB / 3.494 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007114/20.54, allocations: 1.223 MB / 3.495 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006368/20.54, allocations: 226.1 kB / 3.495 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 3.082e-05/20.54, allocations: 0 / 3.495 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.02763/20.57, allocations: 3.449 MB / 3.499 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/20.57, allocations: 115.8 kB / 3.499 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.334/21.91, allocations: 5.291 MB / 3.504 GB, free: 79.87 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/21.91, allocations: 59.59 kB / 3.504 GB, free: 79.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.008503/21.92, allocations: 2.152 MB / 3.506 GB, free: 79.71 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002158/21.92, allocations: 318.2 kB / 3.507 GB, free: 79.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/21.92, allocations: 36.31 kB / 3.507 GB, free: 79.71 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0006786/21.92, allocations: 387.4 kB / 3.507 GB, free: 79.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005835/21.93, allocations: 0.8652 MB / 3.508 GB, free: 79.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007006/21.93, allocations: 1.935 MB / 3.51 GB, free: 78.09 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005996/21.94, allocations: 1.065 MB / 3.511 GB, free: 78.08 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/21.94, allocations: 12 kB / 3.511 GB, free: 78.08 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01915/21.96, allocations: 3.209 MB / 3.514 GB, free: 77.76 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.009702/21.97, allocations: 13.79 MB / 3.527 GB, free: 63.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002637/21.97, allocations: 31.3 kB / 3.527 GB, free: 63.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/21.97, allocations: 392.5 kB / 3.528 GB, free: 63.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00575/21.98, allocations: 0.5429 MB / 3.528 GB, free: 63.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007469/21.98, allocations: 5.259 MB / 3.533 GB, free: 58.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00891/21.99, allocations: 193.7 kB / 3.534 GB, free: 58.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/22, allocations: 213.6 kB / 3.534 GB, free: 58.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/22, allocations: 2.5 kB / 3.534 GB, free: 58.82 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01611/22.01, allocations: 2.907 MB / 3.537 GB, free: 58.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004078/22.01, allocations: 28.28 kB / 3.537 GB, free: 58.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/22.01, allocations: 394.8 kB / 3.537 GB, free: 58.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/22.02, allocations: 0.5779 MB / 3.538 GB, free: 58.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/22.02, allocations: 2.573 MB / 3.54 GB, free: 56.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008254/22.03, allocations: 178.6 kB / 3.54 GB, free: 56.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/22.03, allocations: 209.1 kB / 3.541 GB, free: 56.65 MB / 0.7605 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 () * Number of clocked 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.008189/22.04, allocations: 1.179 MB / 3.542 GB, free: 56.46 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002718/22.04, allocations: 440.5 kB / 3.542 GB, free: 56.22 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/22.06, allocations: 2.765 MB / 3.545 GB, free: 56.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.94e-05/22.06, allocations: 20.05 kB / 3.545 GB, free: 56.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/22.06, allocations: 0 / 3.545 GB, free: 56.05 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.455e-05/22.06, allocations: 9.812 kB / 3.545 GB, free: 56.04 MB / 0.7605 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.03037/22.09, allocations: 6.144 MB / 3.551 GB, free: 55.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/22.09, allocations: 1.281 kB / 3.551 GB, free: 55.56 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/22.09, allocations: 216.3 kB / 3.551 GB, free: 55.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/22.09, allocations: 427.9 kB / 3.551 GB, free: 55.51 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004113/22.09, allocations: 41.27 kB / 3.551 GB, free: 55.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/22.1, allocations: 4.948 MB / 3.556 GB, free: 51.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/22.1, allocations: 11.03 kB / 3.556 GB, free: 51.23 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/22.11, allocations: 2.618 MB / 3.559 GB, free: 50.58 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006964/22.12, allocations: 0.9511 MB / 3.56 GB, free: 50.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003993/22.12, allocations: 18.09 kB / 3.56 GB, free: 50.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00733/22.13, allocations: 167.7 kB / 3.56 GB, free: 50.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008692/22.13, allocations: 85.81 kB / 3.56 GB, free: 50.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008089/22.13, allocations: 83.14 kB / 3.56 GB, free: 50.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.02075/22.15, allocations: 4.021 MB / 3.564 GB, free: 50.05 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.855e-06/22.15, allocations: 0 / 3.564 GB, free: 50.05 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.02235/22.17, allocations: 1.999 MB / 3.566 GB, free: 49.98 MB / 0.7605 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 (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.02508/22.2, allocations: 5.61 MB / 3.571 GB, free: 48.25 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01796/22.22, allocations: 3.863 MB / 3.575 GB, free: 48.22 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.443e-05/22.22, allocations: 0 / 3.575 GB, free: 48.22 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004108/22.22, allocations: 0.9389 MB / 3.576 GB, free: 48.21 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02031/22.24, allocations: 2.159 MB / 3.578 GB, free: 48.19 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07125/22.31, allocations: 30.85 MB / 3.608 GB, free: 39.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01031/22.32, allocations: 2.702 MB / 3.611 GB, free: 38.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01641/22.34, allocations: 1.223 MB / 3.612 GB, free: 38.35 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009435/22.35, allocations: 1.943 MB / 3.614 GB, free: 38.34 MB / 0.7761 GB Notification: Performance of SimCode: time 1.325e-05/22.35, allocations: 0.5625 kB / 3.614 GB, free: 38.34 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5129/22.86, allocations: 149.7 MB / 3.76 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003814/22.86, allocations: 233.3 kB / 3.761 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/39.44, allocations: 0 / 3.761 GB, free: 2.168 MB / 0.7761 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)