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.007209/0.007209, 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.001333/0.001333, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.155/1.155, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 63.91 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6663, allocations: 80.9 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004964/0.6713, allocations: 3.722 MB / 0.6677 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.674, allocations: 1.32 MB / 0.669 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.6744, allocations: 26.22 kB / 0.6691 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.6747, allocations: 126.4 kB / 0.6692 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.6752, allocations: 176.9 kB / 0.6694 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.6763, allocations: 0.5752 MB / 0.6699 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009816/0.6773, allocations: 0.9706 MB / 0.6709 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.6778, allocations: 353.5 kB / 0.6712 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.6782, allocations: 373.8 kB / 0.6716 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.6786, allocations: 352.1 kB / 0.6719 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.6787, allocations: 78.12 kB / 0.672 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.6789, allocations: 78 kB / 0.672 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.679, allocations: 182.8 kB / 0.6722 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.6793, allocations: 376.2 kB / 0.6726 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008187/0.6801, allocations: 0.8975 MB / 0.6734 GB, free: 20 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6801, allocations: 1.062 kB / 0.6734 GB, free: 20 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6801, allocations: 0 / 0.6734 GB, free: 20 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.6802, allocations: 0 / 0.6734 GB, free: 20 kB / 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.002398/0.6826, allocations: 1.177 MB / 0.6746 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.6826, allocations: 8.844 kB / 0.6746 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.6828, allocations: 91.36 kB / 0.6747 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.6829, allocations: 94.28 kB / 0.6748 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.6842, allocations: 0.6227 MB / 0.6754 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.6844, allocations: 97.7 kB / 0.6755 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6845, allocations: 59.56 kB / 0.6755 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.6857, allocations: 0.6035 MB / 0.6761 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.6858, allocations: 1.062 kB / 0.6761 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.6858, allocations: 22.41 kB / 0.6762 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.6859, allocations: 12.41 kB / 0.6762 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.6869, allocations: 435.4 kB / 0.6766 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.6901, allocations: 2.092 MB / 0.6786 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.6915, allocations: 0.4912 MB / 0.6791 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.692, allocations: 221 kB / 0.6793 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.692, allocations: 8.188 kB / 0.6793 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007552/0.6928, allocations: 283.9 kB / 0.6796 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/0.6928, allocations: 1.219 kB / 0.6796 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.00165/0.6945, allocations: 0.6139 MB / 0.6802 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.6946, allocations: 90.3 kB / 0.6803 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008239/0.6954, allocations: 0.6076 MB / 0.6809 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.6955, allocations: 35.98 kB / 0.6809 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.6958, allocations: 359 kB / 0.6812 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.696, allocations: 151.4 kB / 0.6814 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.6961, allocations: 96.3 kB / 0.6815 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6963, allocations: 331.5 kB / 0.6818 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.6968, allocations: 185 kB / 0.682 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.6974, allocations: 275.7 kB / 0.6822 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6984, allocations: 483.1 kB / 0.6827 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6985, allocations: 0 / 0.6827 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001338/0.6998, allocations: 0.5978 MB / 0.6833 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/0.6999, allocations: 31.42 kB / 0.6833 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6999, allocations: 6.688 kB / 0.6833 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.6999, allocations: 4.812 kB / 0.6833 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.7004, allocations: 108.9 kB / 0.6834 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.7005, allocations: 9.547 kB / 0.6834 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.701, allocations: 68.23 kB / 0.6835 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.701, allocations: 23.05 kB / 0.6835 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006698/0.7017, allocations: 308.2 kB / 0.6838 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004969/0.7022, allocations: 270.2 kB / 0.6841 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008906/0.7031, allocations: 450.2 kB / 0.6845 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.7031, allocations: 4 kB / 0.6845 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001258/0.7044, allocations: 0.5757 MB / 0.6851 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.7045, allocations: 36.84 kB / 0.6851 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7045, allocations: 6.406 kB / 0.6851 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.7045, allocations: 5.281 kB / 0.6851 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.7049, allocations: 101.8 kB / 0.6852 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.705, allocations: 5.656 kB / 0.6852 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.7054, allocations: 49.25 kB / 0.6853 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.7054, allocations: 21.61 kB / 0.6853 GB, free: 7.57 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.000244/0.7057, allocations: 221.3 kB / 0.6855 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.7058, allocations: 73.66 kB / 0.6856 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.706, allocations: 81.58 kB / 0.6856 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.706, allocations: 4.312 kB / 0.6857 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.706, allocations: 1.438 kB / 0.6857 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.706, allocations: 0 / 0.6857 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008345/0.7069, allocations: 0.6292 MB / 0.6863 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7069, allocations: 1.438 kB / 0.6863 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.7073, allocations: 81.36 kB / 0.6863 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.7074, allocations: 5.344 kB / 0.6864 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.7074, allocations: 16.02 kB / 0.6864 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.7074, allocations: 0.9688 kB / 0.6864 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7074, allocations: 0 / 0.6864 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.7092, allocations: 0.73 MB / 0.6871 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.7095, allocations: 192.2 kB / 0.6873 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.7096, allocations: 15.09 kB / 0.6873 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.71, allocations: 34.3 kB / 0.6873 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.7101, allocations: 25.91 kB / 0.6873 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.7101, allocations: 22.33 kB / 0.6874 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006006/0.7107, allocations: 433.2 kB / 0.6878 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7107, allocations: 1.125 kB / 0.6878 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007238/0.7115, allocations: 214.5 kB / 0.688 GB, free: 5.754 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.001991/0.7135, allocations: 1.282 MB / 0.6892 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.7153, allocations: 0.781 MB / 0.69 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7153, allocations: 128 / 0.69 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.7158, allocations: 224.5 kB / 0.6902 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.7168, allocations: 205.1 kB / 0.6904 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.7277, allocations: 5.35 MB / 0.6956 GB, free: 496 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.7288, allocations: 0.9217 MB / 0.6965 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006102/0.7294, allocations: 89.12 kB / 0.6966 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.7299, allocations: 259.3 kB / 0.6969 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/0.7299, allocations: 0 / 0.6969 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.049/0.7789, allocations: 14.3 MB / 0.7108 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.264/10.04, allocations: 8.062 kB / 0.7108 GB, free: 1.039 MB / 0.5294 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)