Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.001252/0.001252, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001228/0.001228, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.368/1.368, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.06455/0.06455, allocations: 11.35 MB / 314 MB, free: 14.96 MB / 254.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.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.89 kB / 437.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1041, allocations: 54.84 MB / 492.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003192/0.1073, allocations: 1.844 MB / 494 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1084, allocations: 0.6031 MB / 494.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.698e-05/0.1085, allocations: 7.938 kB / 494.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.1085, allocations: 19.73 kB / 494.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.1087, allocations: 35.67 kB / 494.7 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.1092, allocations: 196.2 kB / 494.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.1095, allocations: 199.5 kB / 495.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1097, allocations: 32.39 kB / 495.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-05/0.1098, allocations: 87.56 kB / 495.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1099, allocations: 107.4 kB / 495.3 MB, free: 400 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.11, allocations: 16 kB / 495.3 MB, free: 384 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.1102, allocations: 159.9 kB / 495.5 MB, free: 224 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.1103, allocations: 55.7 kB / 495.5 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.1103, allocations: 107.3 kB / 495.6 MB, free: 60 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.1108, allocations: 298.9 kB / 495.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1108, allocations: 0 / 495.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1108, allocations: 0 / 495.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1108, allocations: 3.938 kB / 495.9 MB, free: 15.76 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009211/0.1117, allocations: 0.5719 MB / 496.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1118, allocations: 15.89 kB / 496.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.1118, allocations: 42.73 kB / 496.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.1119, allocations: 28.8 kB / 496.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1122, allocations: 271.8 kB / 496.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1122, allocations: 8.375 kB / 496.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1123, allocations: 20.31 kB / 496.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.1126, allocations: 186.2 kB / 497.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1126, allocations: 7.938 kB / 497.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1126, allocations: 0 / 497.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1126, allocations: 4 kB / 497.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.1128, allocations: 63.95 kB / 497.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.1138, allocations: 0.512 MB / 497.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1141, allocations: 138.6 kB / 497.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.1142, allocations: 52.84 kB / 497.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1142, allocations: 7.984 kB / 497.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.1146, allocations: 139.3 kB / 498 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.1146, allocations: 0 / 498 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006158/0.1152, allocations: 264 kB / 498.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.1153, allocations: 170.2 kB / 498.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.1157, allocations: 266.6 kB / 498.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.1157, allocations: 29.7 kB / 498.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1158, allocations: 156.4 kB / 498.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.1159, allocations: 71.42 kB / 498.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.116, allocations: 57.98 kB / 499 MB, free: 12.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1162, allocations: 338.8 kB / 499.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1163, allocations: 56.25 kB / 499.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.1166, allocations: 181.7 kB / 499.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.117, allocations: 246.6 kB / 499.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.117, allocations: 0 / 499.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004669/0.1175, allocations: 272.3 kB / 0.4883 GB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1175, allocations: 11.97 kB / 0.4883 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1175, allocations: 4 kB / 0.4883 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.1175, allocations: 8 kB / 0.4883 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1178, allocations: 59.84 kB / 0.4884 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-05/0.1178, allocations: 15.92 kB / 0.4884 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.118, allocations: 27.83 kB / 0.4884 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.118, allocations: 16 kB / 0.4884 GB, free: 11.12 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002042/0.1182, allocations: 146.2 kB / 0.4886 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.1182, allocations: 23.86 kB / 0.4886 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.137e-05/0.1183, allocations: 26.17 kB / 0.4886 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1183, allocations: 4 kB / 0.4886 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1183, allocations: 3.984 kB / 0.4886 GB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1183, allocations: 7.969 kB / 0.4887 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000762/0.1191, allocations: 0.5529 MB / 0.4892 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1191, allocations: 0 / 0.4892 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1193, allocations: 35.98 kB / 0.4892 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1193, allocations: 4 kB / 0.4892 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.1194, allocations: 11.92 kB / 0.4892 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1194, allocations: 3.938 kB / 0.4892 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1194, allocations: 0 / 0.4892 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.1199, allocations: 385.6 kB / 0.4896 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.12, allocations: 108.9 kB / 0.4897 GB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1201, allocations: 12 kB / 0.4897 GB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1202, allocations: 11.98 kB / 0.4897 GB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.1203, allocations: 7.984 kB / 0.4897 GB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1203, allocations: 15.98 kB / 0.4898 GB, free: 9.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.1205, allocations: 182 kB / 0.4899 GB, free: 9.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1205, allocations: 0 / 0.4899 GB, free: 9.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.1209, allocations: 79.86 kB / 0.49 GB, free: 9.414 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001077/0.122, allocations: 0.9839 MB / 0.491 GB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.1223, allocations: 164.6 kB / 0.4911 GB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1224, allocations: 0 / 0.4911 GB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.1225, allocations: 75.84 kB / 0.4912 GB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1229, allocations: 49.81 kB / 0.4912 GB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.1268, allocations: 2.901 MB / 0.4941 GB, free: 5.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1272, allocations: 0.748 MB / 0.4948 GB, free: 4.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1273, allocations: 34.22 kB / 0.4948 GB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.1274, allocations: 79.41 kB / 0.4949 GB, free: 4.172 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1274, allocations: 0 / 0.4949 GB, free: 4.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.1608, allocations: 5.718 MB / 0.5005 GB, free: 14.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.469, allocations: 14.39 kB / 0.5005 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 651] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.914237143006176] Failed to read output from testmodel.py, exit status != 0: 8.542677192017436 8.569860498 8.454147361 Calling exit ...