Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.TestTrackingP,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP",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.00111/0.00111, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001375/0.001375, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0551/0.0551, allocations: 10.74 MB / 281.1 MB, free: 10.58 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.0005263/0.0005263, allocations: 15.94 kB / 341.7 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 50.01 MB / 391.7 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.001853/0.1099, allocations: 1.382 MB / 393.1 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.1108, allocations: 0.5663 MB / 393.6 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.1109, allocations: 7.938 kB / 393.7 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.1109, allocations: 7.922 kB / 393.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.111, allocations: 27.89 kB / 393.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1113, allocations: 55.8 kB / 393.7 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1115, allocations: 103.8 kB / 393.8 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1116, allocations: 33.45 kB / 393.9 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1118, allocations: 55.77 kB / 393.9 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1119, allocations: 63.67 kB / 394 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1119, allocations: 8 kB / 394 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.112, allocations: 4 kB / 394 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.112, allocations: 23.91 kB / 394 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.1121, allocations: 53.58 kB / 394.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1122, allocations: 88.03 kB / 394.2 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1122, allocations: 0 / 394.2 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1123, allocations: 0 / 394.2 MB, free: 3.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.1123, allocations: 0 / 394.2 MB, free: 3.211 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009416/0.1132, allocations: 0.4964 MB / 394.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1133, allocations: 8.031 kB / 394.7 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.1133, allocations: 46.52 kB / 394.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.1134, allocations: 15.81 kB / 394.7 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1137, allocations: 234.7 kB / 395 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/0.1138, allocations: 67.41 kB / 395 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1138, allocations: 11.94 kB / 395 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.1142, allocations: 145.5 kB / 395.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1142, allocations: 0 / 395.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1143, allocations: 8 kB / 395.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1143, allocations: 0 / 395.2 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004827/0.1148, allocations: 151.9 kB / 395.3 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.1155, allocations: 448.4 kB / 395.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.116, allocations: 158.4 kB / 395.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.116, allocations: 0 / 395.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000404/0.1165, allocations: 147.2 kB / 396.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1165, allocations: 0 / 396.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008569/0.1173, allocations: 277.3 kB / 396.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1174, allocations: 55.41 kB / 396.4 MB, free: 0.7656 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter Input.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1176, allocations: 182.9 kB / 396.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1176, allocations: 29.7 kB / 396.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.1177, allocations: 120.2 kB / 396.7 MB, free: 432 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1177, allocations: 27.64 kB / 396.7 MB, free: 404 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-06/0.1177, allocations: 4 kB / 396.8 MB, free: 400 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1179, allocations: 326.8 kB / 397.1 MB, free: 64 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.1182, allocations: 76 kB / 397.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.1184, allocations: 115.3 kB / 397.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.1187, allocations: 109.5 kB / 397.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1187, allocations: 3.938 kB / 397.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005986/0.1193, allocations: 259 kB / 397.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.1194, allocations: 37.7 kB / 397.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1194, allocations: 3.984 kB / 397.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.1194, allocations: 4 kB / 397.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.1196, allocations: 43.95 kB / 397.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1197, allocations: 0 / 397.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.1199, allocations: 39.81 kB / 397.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.1199, allocations: 8 kB / 397.8 MB, free: 15.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,Ptr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.12, allocations: 121.8 kB / 397.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.12, allocations: 23.77 kB / 397.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.1201, allocations: 17.77 kB / 397.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1201, allocations: 0 / 397.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1201, allocations: 0 / 397.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1201, allocations: 0 / 397.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1203, allocations: 229.7 kB / 398.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1203, allocations: 0 / 398.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1205, allocations: 35.91 kB / 398.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1205, allocations: 11.89 kB / 398.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1205, allocations: 4 kB / 398.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1205, allocations: 0 / 398.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1205, allocations: 0 / 398.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.1211, allocations: 232.8 kB / 398.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.1212, allocations: 88.92 kB / 398.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1212, allocations: 7.953 kB / 398.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.1214, allocations: 35.95 kB / 398.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.1215, allocations: 19.97 kB / 398.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1215, allocations: 4 kB / 398.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.254e-05/0.1216, allocations: 132.1 kB / 398.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 4 kB / 398.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.1218, allocations: 23.94 kB / 398.7 MB, free: 14.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007956/0.1226, allocations: 0.7645 MB / 399.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.1232, allocations: 235.3 kB / 399.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1232, allocations: 0 / 399.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.1235, allocations: 88.12 kB / 399.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.1237, allocations: 28.25 kB / 399.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1247, allocations: 0.9844 MB / 400.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.125, allocations: 0.7201 MB / 401.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.1251, allocations: 17.02 kB / 401.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.836e-05/0.1252, allocations: 39.42 kB / 401.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1252, allocations: 4 kB / 401.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.1383, allocations: 2.951 MB / 404.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.1385, allocations: 217.2 kB / 404.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.814, allocations: 4 kB / 404.8 MB, free: 8.184 MB / 302.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) Environment - environmentSimulation: