Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.Blocks.Examples.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",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.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001593/0.001593, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.333/1.333, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05409/0.05409, allocations: 10.74 MB / 280.1 MB, free: 10.72 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.001358/0.001358, allocations: 59.91 kB / 340 MB, free: 23.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.0952, allocations: 49.03 MB / 389 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003129/0.09838, allocations: 1.81 MB / 390.8 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.09941, allocations: 0.6244 MB / 391.4 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.09952, allocations: 7.938 kB / 391.4 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.09966, allocations: 11.86 kB / 391.4 MB, free: 4.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.012e-05/0.09976, allocations: 31.72 kB / 391.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1001, allocations: 83.89 kB / 391.5 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1003, allocations: 195.2 kB / 391.7 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1005, allocations: 37.89 kB / 391.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1006, allocations: 71.7 kB / 391.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1007, allocations: 83.58 kB / 391.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.1008, allocations: 12 kB / 391.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.823e-05/0.1008, allocations: 8 kB / 391.9 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.1009, allocations: 27.84 kB / 392 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.101, allocations: 83.5 kB / 392.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1012, allocations: 159.3 kB / 392.2 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1012, allocations: 0 / 392.2 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1012, allocations: 0 / 392.2 MB, free: 3.328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1012, allocations: 4 kB / 392.2 MB, free: 3.324 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001113/0.1023, allocations: 0.5678 MB / 392.8 MB, free: 2.699 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1024, allocations: 12.03 kB / 392.8 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.342e-05/0.1024, allocations: 50.67 kB / 392.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.1025, allocations: 20.66 kB / 392.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1028, allocations: 247.8 kB / 393.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.1029, allocations: 63.97 kB / 393.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.1029, allocations: 20.34 kB / 393.2 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.1034, allocations: 196.6 kB / 393.4 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1034, allocations: 0 / 393.4 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1035, allocations: 8 kB / 393.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1035, allocations: 4 kB / 393.4 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.1041, allocations: 147.8 kB / 393.5 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009651/0.1051, allocations: 0.645 MB / 394.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.1057, allocations: 162.4 kB / 394.3 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.106, allocations: 80.78 kB / 394.4 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.106, allocations: 3.938 kB / 394.4 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005203/0.1065, allocations: 175.2 kB / 394.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1065, allocations: 0 / 394.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001048/0.1076, allocations: 285.3 kB / 394.9 MB, free: 456 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.1076, allocations: 59.39 kB / 394.9 MB, free: 384 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1078, allocations: 203.8 kB / 395.1 MB, free: 172 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.1079, allocations: 29.7 kB / 395.2 MB, free: 136 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.108, allocations: 136.2 kB / 395.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.108, allocations: 35.55 kB / 395.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.1081, allocations: 49.69 kB / 395.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1082, allocations: 330.8 kB / 395.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.1086, allocations: 91.91 kB / 395.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.1089, allocations: 141.8 kB / 395.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/0.1096, allocations: 269 kB / 396.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1096, allocations: 0 / 396.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008464/0.1104, allocations: 344.6 kB / 396.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.1105, allocations: 67.39 kB / 396.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1105, allocations: 0 / 396.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1105, allocations: 4 kB / 396.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.1109, allocations: 59.89 kB / 396.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1109, allocations: 7.938 kB / 396.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.1112, allocations: 51.8 kB / 396.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.1113, allocations: 11.98 kB / 396.7 MB, free: 14.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001274/0.1114, allocations: 133.8 kB / 396.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1114, allocations: 19.75 kB / 396.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.1115, allocations: 21.53 kB / 396.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1115, allocations: 0 / 396.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1115, allocations: 0 / 396.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1115, allocations: 7.922 kB / 396.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1118, allocations: 249.5 kB / 397.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1118, allocations: 11.88 kB / 397.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.1122, allocations: 47.95 kB / 397.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1122, allocations: 0 / 397.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1122, allocations: 7.984 kB / 397.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1122, allocations: 0 / 397.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1123, allocations: 0 / 397.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000982/0.1132, allocations: 340.6 kB / 397.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.1133, allocations: 92.89 kB / 397.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.1133, allocations: 8.047 kB / 397.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1136, allocations: 35.95 kB / 397.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.1137, allocations: 23.91 kB / 397.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1137, allocations: 8 kB / 397.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.1138, allocations: 145.5 kB / 397.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1138, allocations: 0 / 397.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1141, allocations: 35.98 kB / 397.9 MB, free: 13.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001313/0.1154, allocations: 0.8881 MB / 398.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007609/0.1162, allocations: 322.8 kB / 399.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1162, allocations: 4.125 kB / 399.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.1165, allocations: 100.6 kB / 399.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1169, allocations: 27.77 kB / 399.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.1204, allocations: 2.349 MB / 401.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1207, allocations: 0.7283 MB / 402.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1208, allocations: 17.55 kB / 402.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.1209, allocations: 51.42 kB / 402.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1209, allocations: 0 / 402.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.135, allocations: 3.896 MB / 406.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.1352, allocations: 232 kB / 406.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.022, allocations: 0 / 406.5 MB, free: 4.449 MB / 302.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1)