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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001615/0.001615, allocations: 177.3 kB / 15.95 MB, free: 208 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.423/2.423, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.498/1.498, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005436, allocations: 15.98 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2343, allocations: 82.32 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.MoverStages): time 0.5526/0.7869, allocations: 79.72 MB / 0.6651 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0781/0.8651, allocations: 26.65 MB / 0.6912 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008513/0.8737, allocations: 123.2 kB / 0.6913 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01225/0.886, allocations: 1.637 MB / 0.6929 GB, free: 204 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03181/0.9179, allocations: 4.606 MB / 0.6974 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.02232/0.9402, allocations: 3.717 MB / 0.701 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02208/0.9623, allocations: 5.457 MB / 0.7063 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.9731, allocations: 2.677 MB / 0.709 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01462/0.9878, allocations: 2.768 MB / 0.7117 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007831/0.9957, allocations: 1.928 MB / 0.7135 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001894/0.9977, allocations: 161.6 kB / 0.7137 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/1.01, allocations: 1.775 MB / 0.7154 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004246/1.014, allocations: 1.28 MB / 0.7167 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004298/1.018, allocations: 0.9942 MB / 0.7176 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01562/1.034, allocations: 5.983 MB / 0.7235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.034, allocations: 0 / 0.7235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.036e-06/1.034, allocations: 4 kB / 0.7235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002813/1.035, allocations: 0 / 0.7235 GB, free: 15.28 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.0234/1.058, allocations: 5.36 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.984e-05/1.058, allocations: 12.03 kB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/1.059, allocations: 287.1 kB / 0.729 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/1.073, allocations: 1.34 MB / 0.7303 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02897/1.102, allocations: 8.69 MB / 0.7388 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001549/1.104, allocations: 316.9 kB / 0.7391 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/1.105, allocations: 236 kB / 0.7393 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/1.118, allocations: 2.945 MB / 0.7422 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.685e-05/1.118, allocations: 7.984 kB / 0.7422 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00071/1.119, allocations: 84 kB / 0.7423 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-05/1.119, allocations: 52 kB / 0.7424 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/1.13, allocations: 2.201 MB / 0.7445 GB, free: 10.91 MB / 0.5606 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.03836/1.168, allocations: 12.69 MB / 0.7569 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/1.179, allocations: 1.724 MB / 0.7586 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01664/1.196, allocations: 4.421 MB / 0.7629 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005967/1.202, allocations: 1.266 MB / 0.7641 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004307/1.206, allocations: 229.8 kB / 0.7643 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 1.109e-05/1.206, allocations: 0 / 0.7643 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.01751/1.224, allocations: 2.619 MB / 0.7669 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.224, allocations: 115.8 kB / 0.767 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02205/1.246, allocations: 7.145 MB / 0.774 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006855/1.247, allocations: 57.7 kB / 0.774 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004443/1.251, allocations: 2.137 MB / 0.7761 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/1.252, allocations: 311.6 kB / 0.7764 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000579/1.253, allocations: 36 kB / 0.7765 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003889/1.253, allocations: 381.9 kB / 0.7768 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00505/1.258, allocations: 1.054 MB / 0.7779 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006233/1.265, allocations: 2.04 MB / 0.7799 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005469/1.27, allocations: 1.232 MB / 0.7811 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.013e-05/1.27, allocations: 8 kB / 0.7811 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.0161/1.286, allocations: 3.4 MB / 0.7844 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.008233/1.295, allocations: 13.36 MB / 0.7974 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.636e-05/1.295, allocations: 36 kB / 0.7975 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/1.295, allocations: 44 kB / 0.7975 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007372/1.302, allocations: 0.6279 MB / 0.7981 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/1.307, allocations: 2.984 MB / 0.801 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006856/1.314, allocations: 229.3 kB / 0.8013 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000846/1.315, allocations: 199.9 kB / 0.8014 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.315, allocations: 4 kB / 0.8014 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01229/1.327, allocations: 3.317 MB / 0.8047 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/1.327, allocations: 31.95 kB / 0.8047 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.029e-05/1.328, allocations: 48.09 kB / 0.8048 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005732/1.333, allocations: 0.6241 MB / 0.8054 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.656e-05/1.333, allocations: 55.8 kB / 0.8054 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005999/1.339, allocations: 229 kB / 0.8056 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007446/1.34, allocations: 183.9 kB / 0.8058 GB, free: 9.488 MB / 0.6231 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.00444/1.345, allocations: 1.165 MB / 0.807 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.346, allocations: 434.3 kB / 0.8074 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.36, allocations: 2.628 MB / 0.8099 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/1.36, allocations: 12 kB / 0.8099 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.36, allocations: 3.938 kB / 0.81 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-05/1.36, allocations: 3.984 kB / 0.81 GB, free: 5.223 MB / 0.6231 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.02414/1.384, allocations: 5.441 MB / 0.8153 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/1.384, allocations: 4 kB / 0.8153 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/1.387, allocations: 307.6 kB / 0.8156 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006701/1.388, allocations: 137.7 kB / 0.8157 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/1.388, allocations: 47.95 kB / 0.8157 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/1.392, allocations: 2.667 MB / 0.8183 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.392, allocations: 0 / 0.8183 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.403, allocations: 2.48 MB / 0.8208 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003874/1.407, allocations: 0.7487 MB / 0.8215 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00215/1.409, allocations: 24 kB / 0.8215 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00611/1.415, allocations: 203.7 kB / 0.8217 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005911/1.416, allocations: 84.88 kB / 0.8218 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006416/1.416, allocations: 79.94 kB / 0.8219 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.01621/1.433, allocations: 5.124 MB / 0.8269 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.353e-06/1.433, allocations: 0 / 0.8269 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01501/1.448, allocations: 1.793 MB / 0.8286 GB, free: 1.812 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.01666/1.465, allocations: 4.102 MB / 0.8326 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02216/1.487, allocations: 4.376 MB / 0.8369 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.487, allocations: 1.812 kB / 0.8369 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004512/1.491, allocations: 0.9627 MB / 0.8379 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01884/1.51, allocations: 2.194 MB / 0.84 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4921/2.002, allocations: 30.25 MB / 0.8695 GB, free: 195.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/2.006, allocations: 2.693 MB / 0.8722 GB, free: 195.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008368/2.014, allocations: 1.202 MB / 0.8733 GB, free: 195 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003225/2.017, allocations: 1.954 MB / 0.8753 GB, free: 195 MB / 0.67 GB Notification: Performance of SimCode: time 8.82e-07/2.017, allocations: 0 / 0.8753 GB, free: 195 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2474/2.265, allocations: 129.5 MB / 1.002 GB, free: 112.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/2.265, allocations: 236.2 kB / 1.002 GB, free: 112.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.636/11.9, allocations: 3.938 kB / 1.002 GB, free: 112.2 MB / 0.67 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) Environment - environmentSimulation: