Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",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.001678/0.001678, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06212/0.06212, allocations: 10.75 MB / 280.5 MB, free: 10.5 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.89 kB / 340.6 MB, free: 23.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07986/0.08131, allocations: 49.01 MB / 389.7 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003529/0.08488, allocations: 2.101 MB / 391.8 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.08601, allocations: 0.4908 MB / 392.3 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.0862, allocations: 7.938 kB / 392.3 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.08646, allocations: 63.39 kB / 392.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.08659, allocations: 27.62 kB / 392.3 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.08725, allocations: 235.5 kB / 392.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.08777, allocations: 0.4915 MB / 393.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.08797, allocations: 80.92 kB / 393.1 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.08817, allocations: 159.5 kB / 393.3 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.08844, allocations: 195.1 kB / 393.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.0885, allocations: 28 kB / 393.5 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-05/0.08855, allocations: 28 kB / 393.5 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.08872, allocations: 123.7 kB / 393.7 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.08889, allocations: 178.8 kB / 393.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.08923, allocations: 354.7 kB / 394.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.08925, allocations: 0 / 394.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.08925, allocations: 0 / 394.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.08927, allocations: 0 / 394.2 MB, free: 1.598 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00126/0.09053, allocations: 0.7131 MB / 394.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.09058, allocations: 15.89 kB / 394.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.589e-05/0.09067, allocations: 70.72 kB / 395 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.368e-05/0.09077, allocations: 44.38 kB / 395 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.09122, allocations: 371.7 kB / 395.4 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/0.0913, allocations: 76.61 kB / 395.5 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.09136, allocations: 36.38 kB / 395.5 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.09197, allocations: 419.8 kB / 395.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.092, allocations: 7.906 kB / 395.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.09204, allocations: 16 kB / 395.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.09205, allocations: 8 kB / 395.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.09259, allocations: 302.3 kB / 396.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.09483, allocations: 1.567 MB / 397.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.09523, allocations: 186.4 kB / 398 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.09544, allocations: 120.8 kB / 398.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.09548, allocations: 4 kB / 398.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.09551, allocations: 38.55 kB / 398.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.09552, allocations: 0 / 398.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006534/0.09618, allocations: 333.4 kB / 398.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.09623, allocations: 59.34 kB / 398.5 MB, free: 13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.09661, allocations: 401.5 kB / 398.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.09664, allocations: 29.7 kB / 399 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.09681, allocations: 232 kB / 399.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.09688, allocations: 90.73 kB / 399.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.09699, allocations: 73.92 kB / 399.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.09713, allocations: 362.7 kB / 399.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.09734, allocations: 96.7 kB / 399.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.0976, allocations: 212.9 kB / 400 MB, free: 11.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.09912, allocations: 0.6287 MB / 400.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.09914, allocations: 4 kB / 400.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006549/0.0998, allocations: 430.1 kB / 401.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.09983, allocations: 8 kB / 401.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.09985, allocations: 7.938 kB / 401.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.09987, allocations: 4 kB / 401.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.1003, allocations: 99.81 kB / 401.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1003, allocations: 11.94 kB / 401.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.1005, allocations: 51.98 kB / 401.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1005, allocations: 23.98 kB / 401.3 MB, free: 10.14 MB / 302.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002207/0.1007, allocations: 199.5 kB / 401.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.1008, allocations: 31.62 kB / 401.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/0.1014, allocations: 300.8 kB / 401.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1014, allocations: 4 kB / 401.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1014, allocations: 3.938 kB / 401.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1014, allocations: 0 / 401.8 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.1018, allocations: 393.3 kB / 402.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1018, allocations: 4 kB / 402.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.1022, allocations: 67.89 kB / 402.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1023, allocations: 0 / 402.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.1023, allocations: 11.98 kB / 402.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1023, allocations: 0 / 402.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1023, allocations: 3.938 kB / 402.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.103, allocations: 0.4948 MB / 402.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.1031, allocations: 112.6 kB / 402.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.1031, allocations: 8 kB / 402.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1033, allocations: 11.98 kB / 402.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.1033, allocations: 19.91 kB / 402.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1034, allocations: 11.94 kB / 402.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.1036, allocations: 271.1 kB / 403.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1036, allocations: 0 / 403.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.104, allocations: 71.69 kB / 403.2 MB, free: 8.043 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0008866/0.1049, allocations: 1.033 MB / 404.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.1054, allocations: 319.5 kB / 404.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1055, allocations: 0 / 404.6 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.1057, allocations: 119.9 kB / 404.7 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.106, allocations: 46.67 kB / 404.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.11, allocations: 3.673 MB / 408.4 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1103, allocations: 0.834 MB / 409.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.1106, allocations: 71.22 kB / 409.3 MB, free: 1.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1107, allocations: 135.4 kB / 409.5 MB, free: 1.613 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1107, allocations: 0 / 409.5 MB, free: 1.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.1357, allocations: 6.153 MB / 415.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/7.836, allocations: 12 kB / 415.6 MB, free: 11.48 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)