Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ClosedLoop_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="IDEAS_dev_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.001388/0.001388, allocations: 99.47 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.001742/0.001742, 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 1.695/1.695, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.541/1.541, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006043/0.0006046, allocations: 9.125 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3002, allocations: 82.31 MB / 0.5873 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.ClosedLoop_y): time 0.8122/1.112, allocations: 170.2 MB / 0.7535 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02916/1.142, allocations: 12.14 MB / 0.7653 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/1.145, allocations: 47.69 kB / 0.7654 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.004165/1.15, allocations: 0.7193 MB / 0.7661 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/1.161, allocations: 2.131 MB / 0.7682 GB, free: 3.188 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.007278/1.168, allocations: 1.382 MB / 0.7695 GB, free: 1.824 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.007723/1.176, allocations: 2.108 MB / 0.7716 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003781/1.18, allocations: 1.058 MB / 0.7726 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/1.187, allocations: 1.452 MB / 0.774 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/1.189, allocations: 0.739 MB / 0.7748 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006496/1.19, allocations: 60 kB / 0.7748 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005368/1.195, allocations: 1.166 MB / 0.7759 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001268/1.197, allocations: 450.6 kB / 0.7764 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/1.198, allocations: 348.8 kB / 0.7767 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005316/1.204, allocations: 2.133 MB / 0.7788 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.204, allocations: 0 / 0.7788 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.086e-06/1.204, allocations: 0 / 0.7788 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001136/1.204, allocations: 0 / 0.7788 GB, free: 8.293 MB / 0.5919 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.007419/1.211, allocations: 1.875 MB / 0.7806 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/1.211, allocations: 12.03 kB / 0.7806 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005942/1.212, allocations: 148 kB / 0.7808 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/1.217, allocations: 449.4 kB / 0.7812 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/1.222, allocations: 1.316 MB / 0.7825 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/1.223, allocations: 74 kB / 0.7826 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005105/1.223, allocations: 112 kB / 0.7827 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/1.227, allocations: 1.131 MB / 0.7838 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/1.227, allocations: 0 / 0.7838 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/1.227, allocations: 40 kB / 0.7838 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-05/1.227, allocations: 37.98 kB / 0.7838 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/1.23, allocations: 0.89 MB / 0.7847 GB, free: 2.074 MB / 0.5919 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.01092/1.241, allocations: 4.858 MB / 0.7895 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/1.244, allocations: 0.7358 MB / 0.7902 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/1.244, allocations: 20.92 kB / 0.7902 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/1.245, allocations: 450.9 kB / 0.7906 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009086/1.246, allocations: 79.34 kB / 0.7907 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 8.045e-06/1.246, allocations: 4 kB / 0.7907 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.004693/1.251, allocations: 1.209 MB / 0.7919 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/1.251, allocations: 63.95 kB / 0.7919 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002734/1.254, allocations: 1.144 MB / 0.7931 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/1.254, allocations: 41.7 kB / 0.7931 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008706/1.255, allocations: 0.6613 MB / 0.7938 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/1.255, allocations: 240.5 kB / 0.794 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/1.255, allocations: 16 kB / 0.794 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.256, allocations: 338 kB / 0.7943 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.257, allocations: 317.8 kB / 0.7946 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/1.258, allocations: 0.5487 MB / 0.7952 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/1.259, allocations: 416.7 kB / 0.7956 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.259, allocations: 4 kB / 0.7956 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003467/1.263, allocations: 1.08 MB / 0.7966 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/1.264, allocations: 2.168 MB / 0.7987 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/1.264, allocations: 4 kB / 0.7987 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/1.265, allocations: 88.72 kB / 0.7988 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/1.266, allocations: 212.7 kB / 0.799 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/1.267, allocations: 1.205 MB / 0.8002 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/1.269, allocations: 99.92 kB / 0.8003 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/1.27, allocations: 39.98 kB / 0.8003 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.27, allocations: 4 kB / 0.8003 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003268/1.273, allocations: 1.013 MB / 0.8013 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/1.273, allocations: 7.984 kB / 0.8013 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008066/1.274, allocations: 157.1 kB / 0.8015 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.275, allocations: 183.8 kB / 0.8017 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006651/1.282, allocations: 2.891 MB / 0.8045 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.284, allocations: 91.84 kB / 0.8046 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/1.284, allocations: 43.92 kB / 0.8046 GB, free: 12.75 MB / 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.001285/1.285, allocations: 465.1 kB / 0.8051 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/1.286, allocations: 138.3 kB / 0.8052 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/1.289, allocations: 0.9251 MB / 0.8061 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.289, allocations: 11.95 kB / 0.8061 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.289, allocations: 4 kB / 0.8061 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002482/1.292, allocations: 0.8093 MB / 0.8069 GB, free: 10.36 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.007222/1.299, allocations: 2.226 MB / 0.8091 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.299, allocations: 0 / 0.8091 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.3, allocations: 167.9 kB / 0.8092 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/1.301, allocations: 72.81 kB / 0.8093 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.831e-05/1.301, allocations: 19.98 kB / 0.8093 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/1.302, allocations: 1.201 MB / 0.8105 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.302, allocations: 4.031 kB / 0.8105 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/1.306, allocations: 1.422 MB / 0.8119 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.307, allocations: 275.4 kB / 0.8121 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/1.308, allocations: 23.98 kB / 0.8122 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.309, allocations: 79.92 kB / 0.8122 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.31, allocations: 56.47 kB / 0.8123 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.977e-05/1.31, allocations: 27.98 kB / 0.8123 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002171/1.312, allocations: 0.7796 MB / 0.8131 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/1.312, allocations: 4 kB / 0.8131 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00413/1.316, allocations: 0.795 MB / 0.8139 GB, free: 2.984 MB / 0.6231 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.006274/1.322, allocations: 2.528 MB / 0.8163 GB, free: 416 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00507/1.328, allocations: 1.541 MB / 0.8178 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.328, allocations: 0 / 0.8178 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.329, allocations: 395.8 kB / 0.8182 GB, free: 14.45 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/1.334, allocations: 0.6255 MB / 0.8188 GB, free: 13.83 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.345, allocations: 7.431 MB / 0.8261 GB, free: 6.238 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.346, allocations: 1.308 MB / 0.8274 GB, free: 4.898 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.002513/1.349, allocations: 343.2 kB / 0.8277 GB, free: 4.559 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.35, allocations: 0.5618 MB / 0.8282 GB, free: 4 MB / 0.6388 GB Notification: Performance of SimCode: time 1.222e-06/1.35, allocations: 0 / 0.8282 GB, free: 4 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5657/1.916, allocations: 39.33 MB / 0.8666 GB, free: 210.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/1.916, allocations: 241.7 kB / 0.8669 GB, free: 210.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.56/6.477, allocations: 0 / 0.8669 GB, free: 210.6 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_ClosedLoop_y.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) Environment - environmentSimulation: