Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.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.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",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.001416/0.001416, allocations: 99.55 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.001611/0.001612, 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.141/2.141, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.117/1.117, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.000556, allocations: 8 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8958/0.8964, allocations: 81.57 MB / 0.583 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.3363/1.233, allocations: 170.2 MB / 0.7492 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0218/1.255, allocations: 12.14 MB / 0.761 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/1.257, allocations: 51.62 kB / 0.7611 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003127/1.261, allocations: 0.7115 MB / 0.7618 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/1.271, allocations: 2.125 MB / 0.7639 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007167/1.278, allocations: 1.395 MB / 0.7652 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007993/1.286, allocations: 2.115 MB / 0.7673 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/1.289, allocations: 1.049 MB / 0.7683 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006122/1.295, allocations: 1.456 MB / 0.7697 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/1.298, allocations: 0.7429 MB / 0.7705 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008481/1.299, allocations: 64.05 kB / 0.7705 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005732/1.305, allocations: 1.158 MB / 0.7717 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/1.306, allocations: 438.6 kB / 0.7721 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/1.308, allocations: 352.8 kB / 0.7724 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007224/1.315, allocations: 2.139 MB / 0.7745 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/1.315, allocations: 0 / 0.7745 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.447e-06/1.315, allocations: 0 / 0.7745 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001816/1.316, allocations: 0 / 0.7745 GB, free: 11.88 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.01704/1.333, allocations: 1.867 MB / 0.7763 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001582/1.333, allocations: 12.03 kB / 0.7763 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001557/1.334, allocations: 148 kB / 0.7765 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005924/1.34, allocations: 453.4 kB / 0.7769 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006803/1.347, allocations: 1.316 MB / 0.7782 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/1.348, allocations: 81.98 kB / 0.7783 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/1.348, allocations: 112 kB / 0.7784 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/1.351, allocations: 1.134 MB / 0.7795 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/1.351, allocations: 0 / 0.7795 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/1.352, allocations: 40 kB / 0.7795 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.202e-05/1.352, allocations: 38 kB / 0.7796 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/1.355, allocations: 0.89 MB / 0.7804 GB, free: 5.648 MB / 0.6075 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.01137/1.366, allocations: 4.842 MB / 0.7852 GB, free: 492 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/1.369, allocations: 0.7396 MB / 0.7859 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/1.369, allocations: 12.94 kB / 0.7859 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/1.37, allocations: 462.8 kB / 0.7863 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009837/1.371, allocations: 83.34 kB / 0.7864 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=69): time 9.348e-06/1.371, allocations: 3.984 kB / 0.7864 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69): time 0.004381/1.376, allocations: 1.21 MB / 0.7876 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/1.376, allocations: 59.97 kB / 0.7877 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/1.378, allocations: 1.144 MB / 0.7888 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.378, allocations: 45.64 kB / 0.7888 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/1.38, allocations: 0.6613 MB / 0.7895 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/1.38, allocations: 240.5 kB / 0.7897 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/1.38, allocations: 16 kB / 0.7897 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002759/1.38, allocations: 341.9 kB / 0.79 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.381, allocations: 313.8 kB / 0.7903 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.383, allocations: 0.5565 MB / 0.7909 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/1.384, allocations: 412.7 kB / 0.7913 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.384, allocations: 4 kB / 0.7913 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003496/1.388, allocations: 1.08 MB / 0.7923 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.002164/1.39, allocations: 2.157 MB / 0.7944 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/1.39, allocations: 8 kB / 0.7944 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000674/1.391, allocations: 80.8 kB / 0.7945 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/1.392, allocations: 207.7 kB / 0.7947 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/1.393, allocations: 1.22 MB / 0.7959 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/1.395, allocations: 89.28 kB / 0.796 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.396, allocations: 51.97 kB / 0.796 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.396, allocations: 6.031 kB / 0.796 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003124/1.399, allocations: 1.013 MB / 0.797 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.399, allocations: 8 kB / 0.797 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008036/1.4, allocations: 149.2 kB / 0.7972 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.401, allocations: 187.7 kB / 0.7974 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/1.408, allocations: 2.904 MB / 0.8002 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/1.411, allocations: 83.84 kB / 0.8003 GB, free: 380 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/1.411, allocations: 47.92 kB / 0.8003 GB, free: 332 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001767/1.413, allocations: 464.8 kB / 0.8008 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005231/1.413, allocations: 138.3 kB / 0.8009 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/1.417, allocations: 0.9212 MB / 0.8018 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.417, allocations: 7.938 kB / 0.8018 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.417, allocations: 0 / 0.8018 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002374/1.419, allocations: 0.8171 MB / 0.8026 GB, free: 13.92 MB / 0.6387 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.006672/1.426, allocations: 2.222 MB / 0.8048 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.426, allocations: 0 / 0.8048 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/1.427, allocations: 159.9 kB / 0.8049 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/1.427, allocations: 84.8 kB / 0.805 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.139e-05/1.427, allocations: 19.98 kB / 0.805 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/1.429, allocations: 1.197 MB / 0.8062 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.429, allocations: 0 / 0.8062 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/1.433, allocations: 1.43 MB / 0.8076 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.434, allocations: 271.4 kB / 0.8079 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.434, allocations: 20 kB / 0.8079 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.435, allocations: 81.64 kB / 0.808 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.436, allocations: 56.42 kB / 0.808 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.67e-05/1.436, allocations: 31.98 kB / 0.808 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00195/1.438, allocations: 0.7796 MB / 0.8088 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.81e-07/1.438, allocations: 0 / 0.8088 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00348/1.441, allocations: 0.7989 MB / 0.8096 GB, free: 6.555 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.s[1],fan.filter.s[2],conPID.I.y) * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005711/1.447, allocations: 2.525 MB / 0.812 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004506/1.451, allocations: 1.542 MB / 0.8135 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.451, allocations: 0 / 0.8135 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/1.453, allocations: 387.9 kB / 0.8139 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/1.457, allocations: 0.6278 MB / 0.8145 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6164/2.073, allocations: 7.421 MB / 0.8218 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/2.075, allocations: 1.308 MB / 0.8231 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002819/2.078, allocations: 331 kB / 0.8234 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/2.08, allocations: 0.5638 MB / 0.8239 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/2.08, allocations: 0 / 0.8239 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/2.204, allocations: 39.34 MB / 0.8623 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/2.205, allocations: 230.3 kB / 0.8626 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.714/6.919, allocations: 2.844 kB / 0.8626 GB, free: 187.7 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_ClosedLoop_y.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) Environment - environmentSimulation: