Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 105 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06265/0.06265, allocations: 11.34 MB / 314 MB, free: 0.8398 MB / 238.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 79.88 kB / 437.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2487, allocations: 54.82 MB / 492.2 MB, free: 23.67 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002977/0.2517, allocations: 1.889 MB / 494.1 MB, free: 22.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2528, allocations: 0.6947 MB / 494.7 MB, free: 21.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.2529, allocations: 9.438 kB / 494.8 MB, free: 21.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.253, allocations: 27.86 kB / 494.8 MB, free: 21.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2531, allocations: 43.27 kB / 494.8 MB, free: 21.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.2535, allocations: 144.6 kB / 495 MB, free: 21.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.2538, allocations: 283.2 kB / 495.2 MB, free: 21.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.254, allocations: 41.44 kB / 495.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2541, allocations: 126.4 kB / 495.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2543, allocations: 119 kB / 495.5 MB, free: 21.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.2543, allocations: 20.62 kB / 495.5 MB, free: 21.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.159e-05/0.2544, allocations: 24.62 kB / 495.6 MB, free: 21.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.2544, allocations: 60.09 kB / 495.6 MB, free: 21.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.2545, allocations: 113.3 kB / 495.7 MB, free: 21.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.2548, allocations: 229 kB / 496 MB, free: 21.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2548, allocations: 0.75 kB / 496 MB, free: 21.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2548, allocations: 0 / 496 MB, free: 21.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2548, allocations: 0 / 496 MB, free: 21.21 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001004/0.2558, allocations: 0.6143 MB / 496.6 MB, free: 20.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2558, allocations: 12.77 kB / 496.6 MB, free: 20.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.2559, allocations: 48.55 kB / 496.6 MB, free: 20.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.2559, allocations: 32.12 kB / 496.7 MB, free: 20.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.2564, allocations: 330.4 kB / 497 MB, free: 20.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/0.2564, allocations: 99.67 kB / 497.1 MB, free: 20.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.2565, allocations: 16.47 kB / 497.1 MB, free: 20.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.257, allocations: 211.5 kB / 497.3 MB, free: 20.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.257, allocations: 0 / 497.3 MB, free: 20.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.257, allocations: 6.312 kB / 497.3 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.257, allocations: 3.875 kB / 497.3 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.2575, allocations: 166.8 kB / 497.5 MB, free: 20.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.2589, allocations: 0.7105 MB / 498.2 MB, free: 19.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.2593, allocations: 171.8 kB / 498.4 MB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.2596, allocations: 91.25 kB / 498.5 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.2596, allocations: 5.312 kB / 498.5 MB, free: 19.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.26, allocations: 169.9 kB / 498.6 MB, free: 19.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.26, allocations: 0 / 498.6 MB, free: 19.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009117/0.2609, allocations: 335.4 kB / 498.9 MB, free: 19.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2609, allocations: 54.22 kB / 499 MB, free: 19.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2611, allocations: 233.2 kB / 499.2 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2611, allocations: 30.77 kB / 499.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.2612, allocations: 148.9 kB / 499.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.2612, allocations: 57.44 kB / 499.5 MB, free: 18.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.2613, allocations: 46.92 kB / 499.5 MB, free: 18.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.2614, allocations: 336.3 kB / 499.8 MB, free: 18.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.2618, allocations: 93.77 kB / 499.9 MB, free: 18.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.2622, allocations: 122.1 kB / 0.4883 GB, free: 18.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.2629, allocations: 238.9 kB / 0.4886 GB, free: 18.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2629, allocations: 5.062 kB / 0.4886 GB, free: 18.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008171/0.2637, allocations: 315.9 kB / 0.4889 GB, free: 18.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.2637, allocations: 36.86 kB / 0.4889 GB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2637, allocations: 1.188 kB / 0.4889 GB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2638, allocations: 1.156 kB / 0.4889 GB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.2652, allocations: 129.2 kB / 0.489 GB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.2668, allocations: 2.879 MB / 0.4918 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.2671, allocations: 34.48 kB / 0.4919 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.2671, allocations: 11.17 kB / 0.4919 GB, free: 14.88 MB / 366.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 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.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): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.2672, allocations: 137.2 kB / 0.492 GB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.2673, allocations: 24.83 kB / 0.492 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.2679, allocations: 274.9 kB / 0.4923 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2679, allocations: 2.219 kB / 0.4923 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.2679, allocations: 1.062 kB / 0.4923 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2679, allocations: 4 kB / 0.4923 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009611/0.2689, allocations: 0.6449 MB / 0.4929 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2689, allocations: 0 / 0.4929 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.2701, allocations: 108 kB / 0.493 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2701, allocations: 1.406 kB / 0.493 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.2701, allocations: 9.375 kB / 0.493 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2701, allocations: 5.312 kB / 0.493 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2701, allocations: 0 / 0.493 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.271, allocations: 458.1 kB / 0.4935 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.2711, allocations: 102.5 kB / 0.4936 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.2711, allocations: 10.34 kB / 0.4936 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.2713, allocations: 29.03 kB / 0.4936 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.2714, allocations: 22.03 kB / 0.4936 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.2714, allocations: 3.531 kB / 0.4936 GB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.2715, allocations: 164.2 kB / 0.4938 GB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2715, allocations: 0 / 0.4938 GB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.2719, allocations: 46.55 kB / 0.4938 GB, free: 13.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.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 (18): * Single equations (assignments): 15 * 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.0011/0.273, allocations: 0.9986 MB / 0.4948 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.274, allocations: 291.5 kB / 0.4951 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.274, allocations: 1.531 kB / 0.4951 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.2743, allocations: 113.5 kB / 0.4952 GB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2746, allocations: 24.02 kB / 0.4952 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.2779, allocations: 2.576 MB / 0.4977 GB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.278, allocations: 0.7513 MB / 0.4985 GB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.2782, allocations: 27.78 kB / 0.4985 GB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.2783, allocations: 76.78 kB / 0.4986 GB, free: 9.625 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2783, allocations: 0 / 0.4986 GB, free: 9.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03183/0.3101, allocations: 5.158 MB / 0.5036 GB, free: 7.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.24, allocations: 9.094 kB / 0.5036 GB, free: 7.117 MB / 366.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL_fmu --startTime=0 --stopTime=22 --stepSize=0.0088 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.720412824768573] Failed to read output from testmodel.py, exit status != 0: 12.3366105617024 12.357472121 12.09793061 Calling exit ...