Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_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.006036/0.006036, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001254/0.001254, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7255/0.7255, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.59 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1631, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004828/0.168, allocations: 3.707 MB / 0.6628 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1708, allocations: 1.336 MB / 0.6641 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/0.1716, allocations: 23.88 kB / 0.6641 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004469/0.1721, allocations: 126.6 kB / 0.6642 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000795/0.1729, allocations: 174.5 kB / 0.6644 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1742, allocations: 0.5694 MB / 0.6649 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001212/0.1754, allocations: 0.972 MB / 0.6659 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006006/0.176, allocations: 349.6 kB / 0.6662 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005273/0.1765, allocations: 362.4 kB / 0.6666 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.177, allocations: 346.1 kB / 0.6669 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.1772, allocations: 80 kB / 0.667 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1773, allocations: 80 kB / 0.6671 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1775, allocations: 183.2 kB / 0.6672 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.1778, allocations: 377.7 kB / 0.6676 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008559/0.1787, allocations: 0.8909 MB / 0.6685 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1787, allocations: 0 / 0.6685 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1787, allocations: 4 kB / 0.6685 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.747e-05/0.1788, allocations: 0 / 0.6685 GB, free: 4.438 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.002024/0.1808, allocations: 1.183 MB / 0.6696 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1808, allocations: 12.03 kB / 0.6696 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.818e-05/0.1809, allocations: 94.7 kB / 0.6697 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.1811, allocations: 95.81 kB / 0.6698 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.182, allocations: 0.6182 MB / 0.6704 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.832e-05/0.1822, allocations: 96.95 kB / 0.6705 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.1822, allocations: 52.38 kB / 0.6706 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.1832, allocations: 0.604 MB / 0.6712 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1833, allocations: 0 / 0.6712 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.1833, allocations: 24 kB / 0.6712 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1833, allocations: 16 kB / 0.6712 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.1842, allocations: 419.6 kB / 0.6716 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.1867, allocations: 2.102 MB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1879, allocations: 0.4927 MB / 0.6741 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.1883, allocations: 216.7 kB / 0.6743 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.1884, allocations: 19.91 kB / 0.6744 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005964/0.189, allocations: 279.2 kB / 0.6746 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.454e-06/0.189, allocations: 3.938 kB / 0.6746 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.00138/0.1904, allocations: 0.614 MB / 0.6752 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.1904, allocations: 84.86 kB / 0.6753 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/0.1911, allocations: 0.61 MB / 0.6759 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.1911, allocations: 41.69 kB / 0.6759 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.1914, allocations: 352.8 kB / 0.6763 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1915, allocations: 157.7 kB / 0.6764 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1916, allocations: 90.25 kB / 0.6765 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1917, allocations: 326 kB / 0.6768 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.1922, allocations: 191 kB / 0.677 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.1926, allocations: 276.2 kB / 0.6773 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.1935, allocations: 481.8 kB / 0.6777 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1935, allocations: 4 kB / 0.6777 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001116/0.1946, allocations: 0.5907 MB / 0.6783 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.1947, allocations: 37.77 kB / 0.6783 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1947, allocations: 0 / 0.6783 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1947, allocations: 11.94 kB / 0.6784 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.1952, allocations: 103.9 kB / 0.6785 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1952, allocations: 11.92 kB / 0.6785 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.1956, allocations: 59.42 kB / 0.6785 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.1956, allocations: 23.98 kB / 0.6785 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005185/0.1962, allocations: 309.8 kB / 0.6788 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004144/0.1966, allocations: 264.3 kB / 0.6791 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007653/0.1974, allocations: 454 kB / 0.6795 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.1974, allocations: 0 / 0.6795 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001015/0.1984, allocations: 0.5786 MB / 0.6801 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.1984, allocations: 37.69 kB / 0.6801 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.1985, allocations: 4 kB / 0.6801 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.1985, allocations: 4.312 kB / 0.6801 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.1989, allocations: 103.8 kB / 0.6802 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1989, allocations: 11.94 kB / 0.6802 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.1993, allocations: 47.66 kB / 0.6803 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.1993, allocations: 16 kB / 0.6803 GB, free: 7.789 MB / 0.5137 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.0001728/0.1995, allocations: 220.7 kB / 0.6805 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.1996, allocations: 75.05 kB / 0.6806 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.1997, allocations: 87.2 kB / 0.6807 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1998, allocations: 4 kB / 0.6807 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1998, allocations: 0 / 0.6807 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1998, allocations: 3.984 kB / 0.6807 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.2004, allocations: 0.6296 MB / 0.6813 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2004, allocations: 0 / 0.6813 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.2008, allocations: 79.89 kB / 0.6814 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2009, allocations: 4 kB / 0.6814 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.2009, allocations: 7.984 kB / 0.6814 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2009, allocations: 8 kB / 0.6814 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.2009, allocations: 0 / 0.6814 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.2023, allocations: 0.7286 MB / 0.6821 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.2026, allocations: 196.2 kB / 0.6823 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.2026, allocations: 16 kB / 0.6823 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.203, allocations: 35.95 kB / 0.6823 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.2031, allocations: 23.97 kB / 0.6824 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.2032, allocations: 19.98 kB / 0.6824 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004617/0.2036, allocations: 431 kB / 0.6828 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2037, allocations: 8 kB / 0.6828 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005761/0.2042, allocations: 207.4 kB / 0.683 GB, free: 4.938 MB / 0.5137 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.001678/0.2059, allocations: 1.284 MB / 0.6842 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.2074, allocations: 0.7885 MB / 0.685 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2075, allocations: 1 kB / 0.685 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.2079, allocations: 219.5 kB / 0.6852 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/0.2088, allocations: 204.5 kB / 0.6854 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007996/0.2168, allocations: 5.356 MB / 0.6907 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.2173, allocations: 0.9141 MB / 0.6915 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004193/0.2177, allocations: 97.11 kB / 0.6916 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.2181, allocations: 259.3 kB / 0.6919 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2181, allocations: 0 / 0.6919 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0594/0.2775, allocations: 14.03 MB / 0.7056 GB, free: 13.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.595, allocations: 8 kB / 0.7056 GB, free: 13.79 MB / 0.545 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)