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.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.001255/0.001255, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 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.001424/0.001424, allocations: 219.8 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.06206/0.06206, allocations: 11.34 MB / 324.6 MB, free: 8.238 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/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.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 55.91 kB / 451.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 56.08 MB / 0.496 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003148/0.1098, allocations: 1.883 MB / 0.4978 GB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1109, allocations: 0.6109 MB / 0.4984 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.111, allocations: 0 / 0.4984 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/0.111, allocations: 15.75 kB / 0.4984 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1112, allocations: 43.61 kB / 0.4985 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.1117, allocations: 183.5 kB / 0.4987 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1119, allocations: 207.4 kB / 0.4989 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1121, allocations: 36.8 kB / 0.4989 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1122, allocations: 95.56 kB / 0.499 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1123, allocations: 103.4 kB / 0.4991 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.1123, allocations: 20 kB / 0.4991 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.1125, allocations: 159.9 kB / 0.4993 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.1126, allocations: 55.7 kB / 0.4993 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.1127, allocations: 95.34 kB / 0.4994 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.1131, allocations: 306.8 kB / 0.4997 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1131, allocations: 0 / 0.4997 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1131, allocations: 0 / 0.4997 GB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1131, allocations: 0 / 0.4997 GB, free: 14.54 MB / 382.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.0008384/0.1139, allocations: 0.5043 MB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.114, allocations: 8.031 kB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.448e-05/0.114, allocations: 4.188 kB / 0.5002 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.114, allocations: 50.73 kB / 0.5002 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.1141, allocations: 28.75 kB / 0.5003 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1144, allocations: 205.5 kB / 0.5005 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1144, allocations: 16.25 kB / 0.5005 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.1144, allocations: 28.31 kB / 0.5005 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.1147, allocations: 174.2 kB / 0.5007 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1148, allocations: 0 / 0.5007 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1148, allocations: 4 kB / 0.5007 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1148, allocations: 4 kB / 0.5007 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.115, allocations: 67.89 kB / 0.5008 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.1158, allocations: 495.4 kB / 0.5012 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1161, allocations: 134.6 kB / 0.5014 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1163, allocations: 56.83 kB / 0.5014 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1163, allocations: 0 / 0.5014 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.1166, allocations: 139.3 kB / 0.5015 GB, free: 12.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.1166, allocations: 0 / 0.5015 GB, free: 12.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005593/0.1171, allocations: 275.6 kB / 0.5018 GB, free: 12.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.1172, allocations: 162.2 kB / 0.502 GB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1175, allocations: 257.9 kB / 0.5022 GB, free: 11.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.1176, allocations: 33.7 kB / 0.5022 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1177, allocations: 156.4 kB / 0.5024 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.1177, allocations: 59.53 kB / 0.5024 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.1178, allocations: 61.97 kB / 0.5025 GB, free: 11.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.118, allocations: 338.8 kB / 0.5028 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1181, allocations: 60.19 kB / 0.5029 GB, free: 11.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.1183, allocations: 181.7 kB / 0.5031 GB, free: 10.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.1187, allocations: 243.6 kB / 0.5033 GB, free: 10.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1187, allocations: 0 / 0.5033 GB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004325/0.1191, allocations: 273.4 kB / 0.5035 GB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1191, allocations: 7.984 kB / 0.5036 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1191, allocations: 4 kB / 0.5036 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1192, allocations: 8 kB / 0.5036 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.1194, allocations: 51.91 kB / 0.5036 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1194, allocations: 15.88 kB / 0.5036 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1196, allocations: 31.72 kB / 0.5037 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1196, allocations: 16.22 kB / 0.5037 GB, free: 10.11 MB / 382.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.0001785/0.1198, allocations: 154.3 kB / 0.5038 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.1198, allocations: 27.81 kB / 0.5039 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.1199, allocations: 26.11 kB / 0.5039 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1199, allocations: 8.031 kB / 0.5039 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1199, allocations: 3.938 kB / 0.5039 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1199, allocations: 0 / 0.5039 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.1206, allocations: 0.5233 MB / 0.5044 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1206, allocations: 0 / 0.5044 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1208, allocations: 35.97 kB / 0.5044 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1208, allocations: 7.938 kB / 0.5044 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.1208, allocations: 8 kB / 0.5044 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1208, allocations: 0 / 0.5044 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1208, allocations: 0 / 0.5044 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.1214, allocations: 395.3 kB / 0.5048 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1214, allocations: 31.86 kB / 0.5049 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.1215, allocations: 11.94 kB / 0.5049 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1216, allocations: 7.984 kB / 0.5049 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1217, allocations: 11.98 kB / 0.5049 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1217, allocations: 11.98 kB / 0.5049 GB, free: 8.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1219, allocations: 181.2 kB / 0.5051 GB, free: 8.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1219, allocations: 0 / 0.5051 GB, free: 8.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.1222, allocations: 83.8 kB / 0.5052 GB, free: 8.535 MB / 382.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.0009768/0.1232, allocations: 0.9836 MB / 0.5061 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.1236, allocations: 167.3 kB / 0.5063 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1236, allocations: 0 / 0.5063 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1237, allocations: 67.91 kB / 0.5063 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1241, allocations: 48.69 kB / 0.5064 GB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.1276, allocations: 2.902 MB / 0.5092 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.128, allocations: 0.748 MB / 0.5099 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.027e-05/0.128, allocations: 30.28 kB / 0.51 GB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1281, allocations: 75.41 kB / 0.51 GB, free: 3.301 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1282, allocations: 4 kB / 0.5101 GB, free: 3.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2073/0.3355, allocations: 5.979 MB / 0.5159 GB, free: 22.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.02, allocations: 6.172 kB / 0.5159 GB, free: 22.22 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.483523508999497] Failed to read output from testmodel.py, exit status != 0: 11.17397253389936 11.186197637 11.070530958 Calling exit ...