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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000864/0.000864, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.872/0.872, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03424/0.03424, allocations: 8.607 MB / 267.8 MB, free: 5.117 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 395.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.546e-05, allocations: 10.16 kB / 395.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002436/0.002462, allocations: 1.7 MB / 396.8 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.003597, allocations: 0.5998 MB / 397.4 MB, free: 348 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.003688, allocations: 3.938 kB / 397.4 MB, free: 344 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.003787, allocations: 19.73 kB / 397.4 MB, free: 324 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.003849, allocations: 39.59 kB / 397.4 MB, free: 284 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.004136, allocations: 75.78 kB / 397.5 MB, free: 208 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.004328, allocations: 187.4 kB / 397.7 MB, free: 20 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.004435, allocations: 21.7 kB / 397.7 MB, free: 0 / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.004639, allocations: 107.7 kB / 397.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.004718, allocations: 63.78 kB / 397.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.00474, allocations: 12 kB / 397.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.004782, allocations: 16 kB / 397.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.004811, allocations: 31.89 kB / 397.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.004858, allocations: 39.86 kB / 398 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.005045, allocations: 155.5 kB / 398.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005047, allocations: 0 / 398.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005048, allocations: 0 / 398.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005053, allocations: 0 / 398.1 MB, free: 15.58 MB / 378.7 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.0006427/0.005696, allocations: 455.1 kB / 398.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.005733, allocations: 8.031 kB / 398.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.005766, allocations: 42.73 kB / 398.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.005868, allocations: 28.78 kB / 398.7 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.006139, allocations: 191.1 kB / 398.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.006215, allocations: 115.4 kB / 399 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.006234, allocations: 12.38 kB / 399 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.006472, allocations: 130.1 kB / 399.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006481, allocations: 192 / 399.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.006496, allocations: 7.938 kB / 399.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006503, allocations: 4 kB / 399.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.007088, allocations: 127.8 kB / 399.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.007631, allocations: 371.5 kB / 399.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.007876, allocations: 126.5 kB / 399.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.008, allocations: 56.81 kB / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.008018, allocations: 0 / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.008236, allocations: 135.4 kB / 399.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.008237, allocations: 0 / 399.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004504/0.008687, allocations: 237.5 kB / 400.1 MB, free: 13.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.008723, allocations: 63.31 kB / 400.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.008833, allocations: 187.8 kB / 400.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.008848, allocations: 29.7 kB / 400.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.008913, allocations: 124.2 kB / 400.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.008932, allocations: 31.73 kB / 400.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.008973, allocations: 33.7 kB / 400.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.009048, allocations: 326.8 kB / 400.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.009188, allocations: 89.64 kB / 401 MB, free: 12.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.009327, allocations: 125.1 kB / 401.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.00956, allocations: 169 kB / 401.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.009561, allocations: 0 / 401.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003126/0.009874, allocations: 264.8 kB / 401.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.0099, allocations: 29.7 kB / 401.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.009906, allocations: 4 kB / 401.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.009916, allocations: 3.938 kB / 401.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.01001, allocations: 40 kB / 401.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.8e-06/0.01001, allocations: 0 / 401.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.0101, allocations: 31.91 kB / 401.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.01011, allocations: 4 kB / 401.7 MB, free: 11.76 MB / 378.7 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 7.448e-05/0.01019, allocations: 129.8 kB / 401.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.0102, allocations: 15.91 kB / 401.8 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.01023, allocations: 21.45 kB / 401.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01023, allocations: 0 / 401.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01024, allocations: 7.938 kB / 401.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01024, allocations: 0 / 401.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.01036, allocations: 184.6 kB / 402 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.01036, allocations: 0 / 402 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.01041, allocations: 23.97 kB / 402 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.01041, allocations: 0 / 402 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01042, allocations: 4 kB / 402 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01043, allocations: 4 kB / 402 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.01043, allocations: 3.938 kB / 402 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.0107, allocations: 209.2 kB / 402.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.01071, allocations: 11.91 kB / 402.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.01073, allocations: 8 kB / 402.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.0108, allocations: 27.95 kB / 402.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.01086, allocations: 23.91 kB / 402.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.01086, allocations: 4 kB / 402.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.56e-05/0.01093, allocations: 135.2 kB / 402.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01093, allocations: 3.938 kB / 402.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000139/0.01107, allocations: 24 kB / 402.5 MB, free: 10.86 MB / 378.7 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.0004377/0.0115, allocations: 0.741 MB / 403.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.01183, allocations: 228.9 kB / 403.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01183, allocations: 0 / 403.5 MB, free: 9.852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.01195, allocations: 71.92 kB / 403.5 MB, free: 9.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.01212, allocations: 20.45 kB / 403.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.01388, allocations: 2.065 MB / 405.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.899e-05/0.01393, allocations: 103.4 kB / 405.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.156e-05/0.01399, allocations: 13.14 kB / 405.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.01405, allocations: 52.42 kB / 405.8 MB, free: 7.371 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01406, allocations: 0 / 405.8 MB, free: 7.371 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.03067, allocations: 4.341 MB / 410.1 MB, free: 3.195 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.092, allocations: 8 kB / 410.1 MB, free: 3.188 MB / 378.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingP.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.895161288790405] Failed to read output from testmodel.py, exit status != 0: 7.175350529141724 7.186867148 7.179991722 Calling exit ...