Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.0007902/0.0007902, 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.0008932/0.0008932, allocations: 170.3 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.8824/0.8824, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03387/0.03387, allocations: 8.607 MB / 267.8 MB, free: 5.129 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.LinearSystems.Examples.BasicComparisonComplex,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonComplex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonComplex",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 395.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.879e-05, allocations: 8.891 kB / 395.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.001944/0.001963, allocations: 1.65 MB / 396.7 MB, free: 1.004 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000507/0.00247, allocations: 339.4 kB / 397 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.002521, allocations: 0 / 397 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.002553, allocations: 15.8 kB / 397.1 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.84e-05/0.002642, allocations: 31.69 kB / 397.1 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.002929, allocations: 107.7 kB / 397.2 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.003097, allocations: 171.5 kB / 397.4 MB, free: 360 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.003201, allocations: 21.73 kB / 397.4 MB, free: 340 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.00328, allocations: 91.67 kB / 397.5 MB, free: 248 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.00336, allocations: 63.78 kB / 397.5 MB, free: 184 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.00338, allocations: 12 kB / 397.6 MB, free: 172 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.003477, allocations: 75.92 kB / 397.6 MB, free: 96 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.00351, allocations: 43.83 kB / 397.7 MB, free: 52 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.003565, allocations: 55.81 kB / 397.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.003765, allocations: 219.3 kB / 397.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003767, allocations: 0 / 397.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003768, allocations: 4 kB / 397.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.003771, allocations: 0 / 397.9 MB, free: 15.78 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005077/0.004279, allocations: 417.4 kB / 398.3 MB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.004311, allocations: 8.031 kB / 398.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.004346, allocations: 46.73 kB / 398.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.004391, allocations: 20.84 kB / 398.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.004562, allocations: 174.1 kB / 398.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004572, allocations: 4.562 kB / 398.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.0046, allocations: 20.33 kB / 398.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.004845, allocations: 281.5 kB / 398.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.004856, allocations: 0 / 398.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.004872, allocations: 8 kB / 398.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.004876, allocations: 0 / 398.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.004981, allocations: 59.95 kB / 399 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.005488, allocations: 399.6 kB / 399.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.005664, allocations: 134.6 kB / 399.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.005747, allocations: 68.95 kB / 399.5 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.005762, allocations: 11.92 kB / 399.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.005959, allocations: 139.3 kB / 399.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.00596, allocations: 0 / 399.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003608/0.006321, allocations: 254.8 kB / 399.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.006385, allocations: 174.1 kB / 400.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.006509, allocations: 203.1 kB / 400.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.00653, allocations: 37.7 kB / 400.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.006591, allocations: 124.5 kB / 400.5 MB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.006626, allocations: 59.55 kB / 400.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.006678, allocations: 53.69 kB / 400.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.006759, allocations: 326.8 kB / 400.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.006827, allocations: 52.25 kB / 401 MB, free: 12.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.00697, allocations: 270.8 kB / 401.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.007217, allocations: 237.9 kB / 401.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.007221, allocations: 0 / 401.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003085/0.007529, allocations: 249.1 kB / 401.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.007546, allocations: 12.36 kB / 401.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007551, allocations: 4 kB / 401.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007566, allocations: 8 kB / 401.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.007696, allocations: 43.92 kB / 401.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.007703, allocations: 8 kB / 401.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.007774, allocations: 31.77 kB / 401.8 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.007783, allocations: 8 kB / 401.8 MB, free: 11.53 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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.000123/0.007906, allocations: 159.7 kB / 402 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.007929, allocations: 27.84 kB / 402 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.007961, allocations: 17.81 kB / 402 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.007965, allocations: 4 kB / 402 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.007969, allocations: 0 / 402 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.007973, allocations: 3.984 kB / 402 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.0084, allocations: 495.8 kB / 402.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008401, allocations: 0 / 402.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.008486, allocations: 23.92 kB / 402.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008488, allocations: 4 kB / 402.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.0085, allocations: 7.984 kB / 402.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.008503, allocations: 4 kB / 402.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.008504, allocations: 0 / 402.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.00884, allocations: 379.2 kB / 402.9 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.008856, allocations: 15.94 kB / 402.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.008952, allocations: 11.98 kB / 402.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.009009, allocations: 8 kB / 402.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.009046, allocations: 11.97 kB / 403 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.009057, allocations: 8 kB / 403 MB, free: 10.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.698e-05/0.009134, allocations: 148.2 kB / 403.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009134, allocations: 8 kB / 403.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.009355, allocations: 55.92 kB / 403.2 MB, free: 10.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0005667/0.009922, allocations: 0.9528 MB / 404.1 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.01013, allocations: 152.4 kB / 404.3 MB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01013, allocations: 192 / 404.3 MB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.01022, allocations: 75.86 kB / 404.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.01043, allocations: 38.88 kB / 404.4 MB, free: 8.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.01246, allocations: 2.407 MB / 406.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.525e-05/0.01253, allocations: 116.8 kB / 406.9 MB, free: 6.148 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.539e-05/0.0126, allocations: 25.94 kB / 406.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.01267, allocations: 56.47 kB / 407 MB, free: 6.066 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01267, allocations: 0 / 407 MB, free: 6.066 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.03265, allocations: 5.265 MB / 412.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.838, allocations: 9.875 kB / 412.3 MB, free: 0.9648 MB / 378.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonComplex_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonComplex.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.547672873362899] Failed to read output from testmodel.py, exit status != 0: 6.918667836114764 6.926081117 6.920748722 Calling exit ...