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.001142/0.001142, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001215/0.001215, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.693/1.693, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05704/0.05704, allocations: 10.73 MB / 280.2 MB, free: 10.67 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.001442/0.001442, allocations: 75.84 kB / 340.2 MB, free: 23.59 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08757, allocations: 49.01 MB / 389.2 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003127/0.09073, allocations: 1.775 MB / 390.9 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.09175, allocations: 0.5892 MB / 391.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.09189, allocations: 11.88 kB / 391.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.09204, allocations: 7.875 kB / 391.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.844e-05/0.09213, allocations: 31.78 kB / 391.6 MB, free: 4.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.0924, allocations: 51.94 kB / 391.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.09265, allocations: 183.5 kB / 391.8 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.09278, allocations: 37.73 kB / 391.8 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.09294, allocations: 67.72 kB / 391.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.09305, allocations: 71.61 kB / 392 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.0931, allocations: 15.98 kB / 392 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.553e-05/0.09313, allocations: 12 kB / 392 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.09317, allocations: 31.91 kB / 392 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.09325, allocations: 67.59 kB / 392.1 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.09343, allocations: 135.5 kB / 392.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.09344, allocations: 0 / 392.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09345, allocations: 0 / 392.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.09347, allocations: 4 kB / 392.2 MB, free: 3.41 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.0009255/0.0944, allocations: 0.5038 MB / 392.7 MB, free: 2.855 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.09444, allocations: 15.83 kB / 392.8 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.09449, allocations: 46.69 kB / 392.8 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.09455, allocations: 20.66 kB / 392.8 MB, free: 2.766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.09482, allocations: 239.9 kB / 393.1 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.09489, allocations: 55.97 kB / 393.1 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.09492, allocations: 12.38 kB / 393.1 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.09531, allocations: 137.4 kB / 393.3 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.09533, allocations: 3.938 kB / 393.3 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.09535, allocations: 7.984 kB / 393.3 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.09537, allocations: 4 kB / 393.3 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.09583, allocations: 123.9 kB / 393.4 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.09662, allocations: 428.4 kB / 393.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.09707, allocations: 122.5 kB / 393.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.09732, allocations: 64.8 kB / 394 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.09735, allocations: 0 / 394 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.09776, allocations: 135.1 kB / 394.1 MB, free: 1.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.09777, allocations: 0 / 394.1 MB, free: 1.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008373/0.09862, allocations: 229.3 kB / 394.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.09867, allocations: 63.41 kB / 394.4 MB, free: 1.023 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.0001791/0.09885, allocations: 186.8 kB / 394.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.09888, allocations: 29.7 kB / 394.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.09897, allocations: 124.4 kB / 394.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.099, allocations: 27.64 kB / 394.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.09907, allocations: 29.7 kB / 394.8 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.09919, allocations: 326.8 kB / 395.1 MB, free: 288 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.09944, allocations: 71.94 kB / 395.2 MB, free: 216 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.0997, allocations: 95.36 kB / 395.3 MB, free: 108 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.1002, allocations: 169 kB / 395.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1002, allocations: 3.938 kB / 395.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005911/0.1008, allocations: 238.9 kB / 395.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.1008, allocations: 33.64 kB / 395.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1009, allocations: 7.984 kB / 395.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1009, allocations: 0 / 395.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1011, allocations: 32.34 kB / 395.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1011, allocations: 0 / 395.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1013, allocations: 35.91 kB / 395.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1013, allocations: 8 kB / 395.8 MB, free: 15.55 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,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/0.1014, allocations: 126.8 kB / 395.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1015, allocations: 19.83 kB / 395.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.1015, allocations: 13.41 kB / 396 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1015, allocations: 4 kB / 396 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1015, allocations: 0 / 396 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1015, allocations: 0 / 396 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.1017, allocations: 233.5 kB / 396.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1017, allocations: 0 / 396.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1019, allocations: 19.97 kB / 396.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1019, allocations: 11.88 kB / 396.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1019, allocations: 4 kB / 396.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1019, allocations: 0 / 396.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1019, allocations: 0 / 396.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.1025, allocations: 200.8 kB / 396.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.1025, allocations: 88.92 kB / 396.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.1026, allocations: 7.938 kB / 396.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1028, allocations: 27.95 kB / 396.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.1028, allocations: 15.98 kB / 396.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1029, allocations: 7.984 kB / 396.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.118e-05/0.103, allocations: 128.1 kB / 396.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.103, allocations: 4 kB / 396.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1032, allocations: 31.84 kB / 396.7 MB, free: 14.53 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 (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.0007991/0.104, allocations: 0.741 MB / 397.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005684/0.1046, allocations: 207.5 kB / 397.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1046, allocations: 4.062 kB / 397.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.1049, allocations: 83.86 kB / 397.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1051, allocations: 19.78 kB / 397.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.1079, allocations: 1.95 MB / 399.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1081, allocations: 0.7162 MB / 400.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.764e-05/0.1082, allocations: 9.094 kB / 400.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.1083, allocations: 47.42 kB / 400.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1083, allocations: 0 / 400.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.131, allocations: 3.2 MB / 403.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.1312, allocations: 236.1 kB / 403.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.127, allocations: 7.938 kB / 403.9 MB, free: 7.227 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/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)