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.0009587/0.0009586, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007304/0.007304, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7426/0.7426, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003982, allocations: 8 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4814, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.003839/0.4852, allocations: 3.3 MB / 0.587 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.4886, allocations: 1.299 MB / 0.5882 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009392/0.4896, allocations: 24.16 kB / 0.5883 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.4899, allocations: 93.02 kB / 0.5883 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006202/0.4906, allocations: 142.3 kB / 0.5885 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.492, allocations: 0.5241 MB / 0.589 GB, free: 228 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.4934, allocations: 0.8929 MB / 0.5899 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006534/0.494, allocations: 334.2 kB / 0.5902 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005118/0.4945, allocations: 286.5 kB / 0.5905 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.495, allocations: 277.6 kB / 0.5907 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-05/0.4951, allocations: 20.91 kB / 0.5907 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-05/0.4952, allocations: 21.25 kB / 0.5908 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.4953, allocations: 107.1 kB / 0.5909 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.4957, allocations: 331 kB / 0.5912 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.4967, allocations: 0.7836 MB / 0.5919 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4967, allocations: 5.438 kB / 0.5919 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4967, allocations: 0 / 0.5919 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.4967, allocations: 5.062 kB / 0.5919 GB, free: 14.72 MB / 446.1 MB 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.002276/0.499, allocations: 1.056 MB / 0.593 GB, free: 13.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.4991, allocations: 9.719 kB / 0.593 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.4992, allocations: 91.12 kB / 0.5931 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.4994, allocations: 98.75 kB / 0.5932 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.5006, allocations: 0.597 MB / 0.5938 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.5007, allocations: 97.3 kB / 0.5938 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5008, allocations: 60.91 kB / 0.5939 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.5022, allocations: 0.6149 MB / 0.5945 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.5023, allocations: 5.094 kB / 0.5945 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.5023, allocations: 22.22 kB / 0.5945 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.5024, allocations: 17.06 kB / 0.5945 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.5035, allocations: 439 kB / 0.595 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.5071, allocations: 2.13 MB / 0.597 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.5085, allocations: 0.5219 MB / 0.5976 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.509, allocations: 232.4 kB / 0.5978 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.5091, allocations: 4.219 kB / 0.5978 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007816/0.5099, allocations: 293.6 kB / 0.5981 GB, free: 10.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 3.186e-06/0.5099, allocations: 1.344 kB / 0.5981 GB, free: 10.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001832/0.5117, allocations: 0.6385 MB / 0.5987 GB, free: 10.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.5118, allocations: 93.58 kB / 0.5988 GB, free: 10.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.5127, allocations: 0.6152 MB / 0.5994 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.5127, allocations: 40.2 kB / 0.5994 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.5131, allocations: 354.8 kB / 0.5998 GB, free: 9.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.5132, allocations: 159.3 kB / 0.5999 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.5133, allocations: 50.47 kB / 0.6 GB, free: 9.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5134, allocations: 330.5 kB / 0.6003 GB, free: 9.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.5139, allocations: 183.7 kB / 0.6004 GB, free: 9.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.5145, allocations: 285.1 kB / 0.6007 GB, free: 9.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5155, allocations: 0.4921 MB / 0.6012 GB, free: 8.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5155, allocations: 1.5 kB / 0.6012 GB, free: 8.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001365/0.5169, allocations: 0.6141 MB / 0.6018 GB, free: 8.391 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.517, allocations: 198.8 kB / 0.602 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5171, allocations: 2.812 kB / 0.602 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.5171, allocations: 4.562 kB / 0.602 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.5176, allocations: 112.6 kB / 0.6021 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5176, allocations: 4.719 kB / 0.6021 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.5181, allocations: 74.16 kB / 0.6022 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.5182, allocations: 27.05 kB / 0.6022 GB, free: 8.074 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/0.5182, allocations: 7.5 kB / 0.6022 GB, free: 8.07 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/0.5193, allocations: 0.5049 MB / 0.6027 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5193, allocations: 2.375 kB / 0.6027 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.5193, allocations: 5.594 kB / 0.6027 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.5198, allocations: 107.9 kB / 0.6028 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5198, allocations: 5.312 kB / 0.6028 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.5202, allocations: 56.53 kB / 0.6029 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.5203, allocations: 17.84 kB / 0.6029 GB, free: 7.746 MB / 446.1 MB 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.0004751/0.5207, allocations: 274.6 kB / 0.6032 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5209, allocations: 77.09 kB / 0.6032 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.5211, allocations: 86.05 kB / 0.6033 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5211, allocations: 5.094 kB / 0.6033 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.5211, allocations: 0 / 0.6033 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5211, allocations: 5.109 kB / 0.6033 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008215/0.5219, allocations: 0.6221 MB / 0.6039 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.522, allocations: 0 / 0.6039 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.5224, allocations: 90.39 kB / 0.604 GB, free: 6.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5225, allocations: 5.531 kB / 0.604 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.5225, allocations: 10.36 kB / 0.604 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5225, allocations: 2.469 kB / 0.604 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.5225, allocations: 4 kB / 0.604 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5242, allocations: 0.7563 MB / 0.6048 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.5245, allocations: 198 kB / 0.605 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.5246, allocations: 11.06 kB / 0.605 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.525, allocations: 42.02 kB / 0.605 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5251, allocations: 34.89 kB / 0.605 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.5252, allocations: 17.27 kB / 0.6051 GB, free: 6.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006173/0.5258, allocations: 429.7 kB / 0.6055 GB, free: 5.953 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5258, allocations: 0 / 0.6055 GB, free: 5.953 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007332/0.5265, allocations: 211.4 kB / 0.6057 GB, free: 5.902 MB / 446.1 MB 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.001999/0.5285, allocations: 1.317 MB / 0.607 GB, free: 4.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.5304, allocations: 0.8102 MB / 0.6077 GB, free: 4.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5304, allocations: 0 / 0.6077 GB, free: 4.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.5309, allocations: 227.3 kB / 0.608 GB, free: 4.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.532, allocations: 181.2 kB / 0.6081 GB, free: 4.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.5433, allocations: 5.916 MB / 0.6139 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.5441, allocations: 0.9207 MB / 0.6148 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006187/0.5447, allocations: 93.8 kB / 0.6149 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.5452, allocations: 260.7 kB / 0.6152 GB, free: 15.36 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5452, allocations: 0 / 0.6152 GB, free: 15.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7163/1.261, allocations: 13.16 MB / 0.628 GB, free: 2.535 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003356/1.262, allocations: 184.9 kB / 0.6282 GB, free: 2.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.781, allocations: 3.938 kB / 0.6282 GB, free: 2.277 MB / 462.1 MB (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)