Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",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.01152/0.01152, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.002217/0.002218, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.858/0.858, allocations: 135.1 MB / 425.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 70.39 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1662, allocations: 80.92 MB / 0.6641 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.00539/0.1717, allocations: 4.325 MB / 0.6683 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003745/0.1755, allocations: 1.589 MB / 0.6699 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.1766, allocations: 35.81 kB / 0.6699 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.1772, allocations: 166.2 kB / 0.6701 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.1786, allocations: 242.2 kB / 0.6703 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.1803, allocations: 0.6707 MB / 0.671 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.1819, allocations: 1.229 MB / 0.6722 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007348/0.1826, allocations: 0.5001 MB / 0.6727 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007276/0.1834, allocations: 481.9 kB / 0.6731 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004859/0.1839, allocations: 457.4 kB / 0.6736 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.184, allocations: 104 kB / 0.6737 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1841, allocations: 100 kB / 0.6738 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.1843, allocations: 235 kB / 0.674 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.1847, allocations: 493 kB / 0.6744 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1858, allocations: 1.159 MB / 0.6756 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1858, allocations: 0 / 0.6756 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1859, allocations: 4 kB / 0.6756 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.1859, allocations: 0 / 0.6756 GB, free: 10.54 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002318/0.1882, allocations: 1.399 MB / 0.6769 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1883, allocations: 13.11 kB / 0.677 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.1884, allocations: 110.7 kB / 0.6771 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.1886, allocations: 123.4 kB / 0.6772 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.1899, allocations: 0.7665 MB / 0.6779 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-05/0.19, allocations: 76.27 kB / 0.678 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1901, allocations: 72.38 kB / 0.6781 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.1913, allocations: 0.7366 MB / 0.6788 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1913, allocations: 0 / 0.6788 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.1914, allocations: 32 kB / 0.6788 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.1914, allocations: 19.94 kB / 0.6788 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1925, allocations: 0.5165 MB / 0.6793 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.1957, allocations: 2.247 MB / 0.6815 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.197, allocations: 0.6115 MB / 0.6821 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.1975, allocations: 278.4 kB / 0.6824 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/0.1976, allocations: 8.562 kB / 0.6824 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006185/0.1982, allocations: 319 kB / 0.6827 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.1982, allocations: 0 / 0.6827 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.00157/0.1998, allocations: 0.7478 MB / 0.6834 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.1999, allocations: 89.61 kB / 0.6835 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/0.2007, allocations: 0.7595 MB / 0.6843 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.2008, allocations: 33.7 kB / 0.6843 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.2011, allocations: 440.5 kB / 0.6847 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.2013, allocations: 216.9 kB / 0.6849 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2015, allocations: 110.3 kB / 0.685 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2016, allocations: 326 kB / 0.6853 GB, free: 236 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.202, allocations: 207.4 kB / 0.6855 GB, free: 28 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.2025, allocations: 304.5 kB / 0.6858 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009167/0.2035, allocations: 0.5075 MB / 0.6863 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2035, allocations: 3.938 kB / 0.6863 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001168/0.2047, allocations: 0.6578 MB / 0.687 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2047, allocations: 4 kB / 0.687 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2047, allocations: 4 kB / 0.687 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2047, allocations: 4 kB / 0.687 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.2053, allocations: 148 kB / 0.6871 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.2054, allocations: 11.94 kB / 0.6871 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.2058, allocations: 67.41 kB / 0.6872 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.2058, allocations: 23.98 kB / 0.6872 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005559/0.2064, allocations: 349.4 kB / 0.6876 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004488/0.2069, allocations: 296.5 kB / 0.6878 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008361/0.2077, allocations: 499.7 kB / 0.6883 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.2077, allocations: 0 / 0.6883 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001062/0.2088, allocations: 0.6304 MB / 0.6889 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2088, allocations: 9.969 kB / 0.6889 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2088, allocations: 11.98 kB / 0.689 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/0.2088, allocations: 4 kB / 0.689 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.2094, allocations: 139.8 kB / 0.6891 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2094, allocations: 4 kB / 0.6891 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.2098, allocations: 63.44 kB / 0.6892 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.2099, allocations: 20 kB / 0.6892 GB, free: 12.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001876/0.2101, allocations: 216.1 kB / 0.6894 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.2102, allocations: 90.88 kB / 0.6895 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.2104, allocations: 109.2 kB / 0.6896 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2104, allocations: 7.938 kB / 0.6896 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.2104, allocations: 3.938 kB / 0.6896 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.2104, allocations: 3.984 kB / 0.6896 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.2125, allocations: 1.435 MB / 0.691 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2126, allocations: 3.938 kB / 0.691 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.2131, allocations: 107.8 kB / 0.6911 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.2131, allocations: 4 kB / 0.6911 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.2132, allocations: 15.98 kB / 0.6911 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2132, allocations: 0 / 0.6911 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2132, allocations: 4 kB / 0.6911 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.2148, allocations: 0.9634 MB / 0.6921 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.2151, allocations: 223.7 kB / 0.6923 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.2152, allocations: 12 kB / 0.6923 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.2156, allocations: 31.97 kB / 0.6923 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.2157, allocations: 32.52 kB / 0.6923 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.2157, allocations: 19.98 kB / 0.6924 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006374/0.2163, allocations: 0.5185 MB / 0.6929 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2164, allocations: 4 kB / 0.6929 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007368/0.2171, allocations: 279 kB / 0.6931 GB, free: 7.996 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001982/0.2191, allocations: 1.52 MB / 0.6946 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.2208, allocations: 0.7957 MB / 0.6954 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2208, allocations: 0 / 0.6954 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.2213, allocations: 271.7 kB / 0.6957 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.2224, allocations: 268.7 kB / 0.6959 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009087/0.2315, allocations: 6.531 MB / 0.7023 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.2321, allocations: 0.9937 MB / 0.7033 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005327/0.2327, allocations: 114.7 kB / 0.7034 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.2331, allocations: 351.3 kB / 0.7037 GB, free: 12.95 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/0.2331, allocations: 0 / 0.7037 GB, free: 12.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/0.2753, allocations: 17.44 MB / 0.7207 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.267/9.542, allocations: 12.59 kB / 0.7208 GB, free: 11.68 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)