Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.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.Validation.ControlledFlowMachine,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine",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.001123/0.001123, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001144/0.001144, 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.11/2.11, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.251/1.251, allocations: 132.2 MB / 423.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005198, allocations: 8.656 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7572/0.7577, allocations: 81.57 MB / 0.583 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 1.2/1.958, allocations: 300.6 MB / 0.8765 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.09043/2.048, allocations: 42.46 MB / 0.918 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01319/2.061, allocations: 150.8 kB / 0.9182 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01616/2.078, allocations: 2.453 MB / 0.9206 GB, free: 6.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.04448/2.122, allocations: 7.724 MB / 0.9281 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.02086/2.143, allocations: 3.87 MB / 0.9319 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02721/2.17, allocations: 7.516 MB / 0.9392 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01083/2.181, allocations: 3.439 MB / 0.9426 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02823/2.21, allocations: 5.337 MB / 0.9478 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01228/2.222, allocations: 2.741 MB / 0.9505 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003344/2.225, allocations: 241.3 kB / 0.9507 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02084/2.246, allocations: 2.933 MB / 0.9536 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007013/2.253, allocations: 2.034 MB / 0.9555 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006312/2.26, allocations: 1.357 MB / 0.9569 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02422/2.284, allocations: 8.212 MB / 0.9649 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/2.284, allocations: 3.25 kB / 0.9649 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.418e-06/2.284, allocations: 2.812 kB / 0.9649 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003878/2.284, allocations: 0 / 0.9649 GB, free: 5.824 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.03359/2.318, allocations: 6.871 MB / 0.9716 GB, free: 15.46 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.606e-05/2.318, allocations: 8.031 kB / 0.9716 GB, free: 15.46 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002574/2.321, allocations: 404.6 kB / 0.972 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01834/2.339, allocations: 1.455 MB / 0.9734 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0354/2.375, allocations: 10.93 MB / 0.9841 GB, free: 6.527 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005355/2.375, allocations: 251.6 kB / 0.9843 GB, free: 6.387 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002107/2.377, allocations: 350.6 kB / 0.9847 GB, free: 6.152 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/2.393, allocations: 3.904 MB / 0.9885 GB, free: 3.418 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/2.393, allocations: 13.16 kB / 0.9885 GB, free: 3.41 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000589/2.394, allocations: 121.6 kB / 0.9886 GB, free: 3.383 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/2.394, allocations: 104.3 kB / 0.9887 GB, free: 3.281 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/2.406, allocations: 2.81 MB / 0.9914 GB, free: 1.406 MB / 0.67 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.05226/2.458, allocations: 17.96 MB / 1.009 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007225/2.465, allocations: 2.146 MB / 1.011 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/2.466, allocations: 42.55 kB / 1.011 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004621/2.47, allocations: 1.598 MB / 1.013 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00477/2.475, allocations: 374.6 kB / 1.013 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=176): time 2.547e-05/2.475, allocations: 0 / 1.013 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=176): time 0.01303/2.488, allocations: 3.657 MB / 1.017 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/2.488, allocations: 69.41 kB / 1.017 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02273/2.511, allocations: 8.556 MB / 1.025 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.00118/2.512, allocations: 80 kB / 1.025 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.005733/2.518, allocations: 2.674 MB / 1.028 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/2.52, allocations: 0.6132 MB / 1.028 GB, free: 236 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/2.52, allocations: 52 kB / 1.028 GB, free: 184 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000435/2.521, allocations: 423.9 kB / 1.029 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/2.524, allocations: 1.251 MB / 1.03 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004792/2.529, allocations: 2.435 MB / 1.032 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/2.534, allocations: 1.598 MB / 1.034 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.769e-05/2.534, allocations: 8 kB / 1.034 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01385/2.548, allocations: 4.237 MB / 1.038 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.008623/2.556, allocations: 15.05 MB / 1.053 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/2.557, allocations: 28 kB / 1.053 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/2.559, allocations: 285.5 kB / 1.053 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005684/2.564, allocations: 0.6561 MB / 1.054 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/2.57, allocations: 3.741 MB / 1.057 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009334/2.579, allocations: 322.7 kB / 1.058 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/2.581, allocations: 236 kB / 1.058 GB, free: 416 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/2.581, allocations: 8 kB / 1.058 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01582/2.597, allocations: 4.607 MB / 1.062 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/2.597, allocations: 30.19 kB / 1.062 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/2.6, allocations: 0.6618 MB / 1.063 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005516/2.606, allocations: 0.6326 MB / 1.064 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/2.626, allocations: 8.706 MB / 1.072 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/2.637, allocations: 320.1 kB / 1.073 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/2.639, allocations: 208 kB / 1.073 GB, free: 1.137 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.006826/2.645, allocations: 1.533 MB / 1.074 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003475/2.649, allocations: 0.5245 MB / 1.075 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01609/2.665, allocations: 2.904 MB / 1.078 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/2.665, allocations: 23.94 kB / 1.078 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/2.665, allocations: 0 / 1.078 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008033/2.673, allocations: 2.465 MB / 1.08 GB, free: 9.617 MB / 0.7637 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.02979/2.703, allocations: 7.135 MB / 1.087 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/2.703, allocations: 12.02 kB / 1.087 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004962/2.708, allocations: 496 kB / 1.087 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/2.71, allocations: 282.3 kB / 1.088 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004992/2.71, allocations: 51.98 kB / 1.088 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/2.714, allocations: 3.492 MB / 1.091 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/2.714, allocations: 9.812 kB / 1.091 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/2.729, allocations: 4.4 MB / 1.095 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006511/2.736, allocations: 0.8494 MB / 1.096 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00286/2.739, allocations: 40 kB / 1.096 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008611/2.747, allocations: 300.8 kB / 1.097 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007347/2.748, allocations: 125.8 kB / 1.097 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003848/2.749, allocations: 91.97 kB / 1.097 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.01753/2.766, allocations: 6.166 MB / 1.103 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.761e-06/2.766, allocations: 0 / 1.103 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01829/2.785, allocations: 2.543 MB / 1.105 GB, free: 15.36 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01833/2.803, allocations: 5.769 MB / 1.111 GB, free: 9.566 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02237/2.825, allocations: 5.633 MB / 1.116 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.056e-05/2.826, allocations: 4 kB / 1.116 GB, free: 4.086 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004377/2.83, allocations: 1.168 MB / 1.118 GB, free: 2.961 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.664/3.494, allocations: 3.149 MB / 1.121 GB, free: 354.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07582/3.57, allocations: 35.55 MB / 1.155 GB, free: 327.2 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/3.581, allocations: 3.424 MB / 1.159 GB, free: 326.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.01095/3.592, allocations: 1.481 MB / 1.16 GB, free: 326.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006109/3.599, allocations: 2.528 MB / 1.163 GB, free: 324.2 MB / 0.795 GB Notification: Performance of SimCode: time 2.374e-06/3.599, allocations: 2.297 kB / 1.163 GB, free: 324.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3521/3.951, allocations: 167.6 MB / 1.326 GB, free: 177.1 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/3.951, allocations: 254.9 kB / 1.327 GB, free: 176.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/14.87, allocations: 0 / 1.327 GB, free: 176.8 MB / 0.795 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_ControlledFlowMachine.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1) Environment - environmentSimulation: