Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID",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.00134/0.00134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001514/0.001514, allocations: 191 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.104/1.104, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 68.36 kB / 0.505 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2176, allocations: 80.92 MB / 0.584 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005938/0.2236, allocations: 3.715 MB / 0.5876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.2265, allocations: 1.286 MB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.2274, allocations: 23.88 kB / 0.5889 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.2279, allocations: 91.11 kB / 0.589 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009032/0.2288, allocations: 152.1 kB / 0.5891 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.2301, allocations: 0.5178 MB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009946/0.2311, allocations: 0.9837 MB / 0.5906 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.2316, allocations: 345.6 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.232, allocations: 370.3 kB / 0.5913 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.2323, allocations: 350.1 kB / 0.5916 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.2324, allocations: 79.98 kB / 0.5917 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.2325, allocations: 80 kB / 0.5918 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.2326, allocations: 179.2 kB / 0.5919 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.2329, allocations: 377.7 kB / 0.5923 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.2336, allocations: 0.8566 MB / 0.5931 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2336, allocations: 0 / 0.5931 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2336, allocations: 0 / 0.5931 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.2336, allocations: 4 kB / 0.5931 GB, free: 11.39 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001901/0.2356, allocations: 1.183 MB / 0.5943 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2356, allocations: 12.03 kB / 0.5943 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.2357, allocations: 90.7 kB / 0.5944 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.2359, allocations: 91.81 kB / 0.5945 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008223/0.2367, allocations: 0.5988 MB / 0.5951 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.925e-05/0.2368, allocations: 96.91 kB / 0.5951 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.2369, allocations: 60.31 kB / 0.5952 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2379, allocations: 0.6001 MB / 0.5958 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2379, allocations: 0 / 0.5958 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.238, allocations: 20 kB / 0.5958 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.238, allocations: 16 kB / 0.5958 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.2389, allocations: 423.6 kB / 0.5962 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.2413, allocations: 2.118 MB / 0.5983 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.2424, allocations: 0.4997 MB / 0.5988 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.2429, allocations: 215.3 kB / 0.599 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.2429, allocations: 7.984 kB / 0.599 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009387/0.2439, allocations: 282.1 kB / 0.5993 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/0.2439, allocations: 0 / 0.5993 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.002068/0.246, allocations: 0.6123 MB / 0.5999 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.246, allocations: 88.84 kB / 0.5999 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009862/0.247, allocations: 0.6099 MB / 0.6005 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.2471, allocations: 41.69 kB / 0.6006 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.2475, allocations: 348.9 kB / 0.6009 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.2477, allocations: 161.7 kB / 0.6011 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.2479, allocations: 99.25 kB / 0.6012 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2481, allocations: 326 kB / 0.6015 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.2487, allocations: 183 kB / 0.6016 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/0.2495, allocations: 280.2 kB / 0.6019 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.2508, allocations: 477.9 kB / 0.6024 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2509, allocations: 0 / 0.6024 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001783/0.2526, allocations: 0.6021 MB / 0.603 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.2527, allocations: 33.64 kB / 0.603 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2527, allocations: 4 kB / 0.603 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.2528, allocations: 4 kB / 0.603 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.2535, allocations: 116.1 kB / 0.6031 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.2535, allocations: 11.92 kB / 0.6031 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.2541, allocations: 55.52 kB / 0.6032 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.2542, allocations: 23.98 kB / 0.6032 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008157/0.255, allocations: 305.2 kB / 0.6035 GB, free: 360 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006832/0.2557, allocations: 268.2 kB / 0.6037 GB, free: 56 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3002/0.5559, allocations: 447.8 kB / 0.6042 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.063e-06/0.556, allocations: 0.8125 kB / 0.6042 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001227/0.5572, allocations: 0.5811 MB / 0.6047 GB, free: 51.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.5573, allocations: 33.94 kB / 0.6048 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5573, allocations: 3.469 kB / 0.6048 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.5573, allocations: 5.781 kB / 0.6048 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.5577, allocations: 106 kB / 0.6049 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5577, allocations: 2.844 kB / 0.6049 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.5582, allocations: 53.25 kB / 0.6049 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.5582, allocations: 22.47 kB / 0.605 GB, free: 51.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.5584, allocations: 213.3 kB / 0.6052 GB, free: 51.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.5586, allocations: 75.28 kB / 0.6052 GB, free: 51.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.5588, allocations: 80.19 kB / 0.6053 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5588, allocations: 6.344 kB / 0.6053 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5588, allocations: 1.812 kB / 0.6053 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.5588, allocations: 3.375 kB / 0.6053 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.5594, allocations: 0.6194 MB / 0.6059 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5594, allocations: 3.656 kB / 0.6059 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.5599, allocations: 84.06 kB / 0.606 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5599, allocations: 0 / 0.606 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5599, allocations: 9.531 kB / 0.606 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5599, allocations: 3.438 kB / 0.606 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5599, allocations: 0 / 0.606 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.5612, allocations: 0.7331 MB / 0.6067 GB, free: 51.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.5614, allocations: 193.9 kB / 0.6069 GB, free: 51.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.5615, allocations: 15.92 kB / 0.6069 GB, free: 51.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.5619, allocations: 32.09 kB / 0.607 GB, free: 51.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.074e-05/0.562, allocations: 37.83 kB / 0.607 GB, free: 51.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.5621, allocations: 16.39 kB / 0.607 GB, free: 51.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004038/0.5625, allocations: 434.3 kB / 0.6074 GB, free: 50.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5625, allocations: 0 / 0.6074 GB, free: 50.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005825/0.5631, allocations: 212.4 kB / 0.6076 GB, free: 50.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/0.5652, allocations: 1.28 MB / 0.6089 GB, free: 50.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00233/0.5676, allocations: 0.8083 MB / 0.6097 GB, free: 49.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5676, allocations: 0 / 0.6097 GB, free: 49.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.5682, allocations: 216.4 kB / 0.6099 GB, free: 49.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.5695, allocations: 209.2 kB / 0.6101 GB, free: 49.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.5812, allocations: 5.861 MB / 0.6158 GB, free: 46.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.5816, allocations: 0.9095 MB / 0.6167 GB, free: 45.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004423/0.582, allocations: 94.38 kB / 0.6168 GB, free: 45.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.5823, allocations: 257.6 kB / 0.617 GB, free: 45.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.974e-06/0.5823, allocations: 0 / 0.617 GB, free: 45.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4222/1.005, allocations: 13.7 MB / 0.6304 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/1.005, allocations: 183 kB / 0.6306 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.531, allocations: 0 / 0.6306 GB, free: 44.13 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)