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.001266/0.001266, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001325/0.001325, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.06181/0.06181, allocations: 11.33 MB / 324.5 MB, free: 8.051 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.001921/0.001921, allocations: 71.89 kB / 451.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1026, allocations: 56.07 MB / 0.4959 GB, free: 2.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.00293/0.1055, allocations: 1.796 MB / 0.4977 GB, free: 364 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.1065, allocations: 0.5448 MB / 0.4982 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.1066, allocations: 4 kB / 0.4982 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.24e-05/0.1067, allocations: 19.73 kB / 0.4982 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1068, allocations: 39.61 kB / 0.4983 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.1073, allocations: 183.5 kB / 0.4984 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.1076, allocations: 207.4 kB / 0.4986 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1077, allocations: 36.8 kB / 0.4987 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.1078, allocations: 87.52 kB / 0.4988 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1079, allocations: 103.4 kB / 0.4989 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.1079, allocations: 20 kB / 0.4989 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.1082, allocations: 155.9 kB / 0.499 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.1082, allocations: 59.69 kB / 0.4991 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.488e-05/0.1083, allocations: 87.47 kB / 0.4992 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.1087, allocations: 302.8 kB / 0.4995 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1087, allocations: 4 kB / 0.4995 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1087, allocations: 0 / 0.4995 GB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1087, allocations: 0 / 0.4995 GB, free: 14.52 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.0008381/0.1095, allocations: 0.4926 MB / 0.4999 GB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1096, allocations: 11.97 kB / 0.4999 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.504e-05/0.1096, allocations: 4.188 kB / 0.5 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.1096, allocations: 50.73 kB / 0.5 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.1097, allocations: 28.75 kB / 0.5 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.11, allocations: 209.5 kB / 0.5002 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.11, allocations: 20.3 kB / 0.5002 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.11, allocations: 24.33 kB / 0.5003 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.1104, allocations: 280.9 kB / 0.5005 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1104, allocations: 0 / 0.5005 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1104, allocations: 8 kB / 0.5005 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1105, allocations: 0 / 0.5005 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.1106, allocations: 63.95 kB / 0.5006 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.1115, allocations: 459.5 kB / 0.501 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.1118, allocations: 130.6 kB / 0.5012 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1119, allocations: 56.83 kB / 0.5012 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1119, allocations: 8 kB / 0.5012 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.1122, allocations: 143.3 kB / 0.5014 GB, free: 12.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.1122, allocations: 0 / 0.5014 GB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005532/0.1128, allocations: 263.1 kB / 0.5016 GB, free: 12.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.1129, allocations: 170.2 kB / 0.5018 GB, free: 11.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1131, allocations: 253.9 kB / 0.502 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.1132, allocations: 37.7 kB / 0.5021 GB, free: 11.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1133, allocations: 156.4 kB / 0.5022 GB, free: 11.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.1133, allocations: 63.47 kB / 0.5023 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.1134, allocations: 57.98 kB / 0.5023 GB, free: 11.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1136, allocations: 342.8 kB / 0.5027 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1137, allocations: 52.25 kB / 0.5027 GB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.1139, allocations: 288.5 kB / 0.503 GB, free: 10.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.1143, allocations: 244.5 kB / 0.5032 GB, free: 10.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1143, allocations: 4 kB / 0.5032 GB, free: 10.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004171/0.1147, allocations: 261.1 kB / 0.5035 GB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1147, allocations: 11.94 kB / 0.5035 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1147, allocations: 4.469 kB / 0.5035 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1147, allocations: 11.98 kB / 0.5035 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.115, allocations: 63.8 kB / 0.5036 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.115, allocations: 11.92 kB / 0.5036 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.1152, allocations: 31.78 kB / 0.5036 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.1152, allocations: 12 kB / 0.5036 GB, free: 9.871 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.0001756/0.1154, allocations: 142.4 kB / 0.5037 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1154, allocations: 27.81 kB / 0.5038 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.1155, allocations: 34.11 kB / 0.5038 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1155, allocations: 4 kB / 0.5038 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1155, allocations: 3.938 kB / 0.5038 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1155, allocations: 0 / 0.5038 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.1161, allocations: 0.496 MB / 0.5043 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1161, allocations: 0 / 0.5043 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.1164, allocations: 27.98 kB / 0.5043 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1164, allocations: 7.984 kB / 0.5043 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.1164, allocations: 11.97 kB / 0.5043 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1164, allocations: 15.94 kB / 0.5044 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1164, allocations: 0 / 0.5044 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.117, allocations: 391.4 kB / 0.5047 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.117, allocations: 23.81 kB / 0.5047 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.1171, allocations: 12 kB / 0.5048 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.1172, allocations: 7.984 kB / 0.5048 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.1173, allocations: 15.97 kB / 0.5048 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1173, allocations: 8 kB / 0.5048 GB, free: 8.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1174, allocations: 189.2 kB / 0.505 GB, free: 8.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1174, allocations: 0 / 0.505 GB, free: 8.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.1178, allocations: 83.8 kB / 0.5051 GB, free: 8.32 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.0009648/0.1188, allocations: 0.9839 MB / 0.506 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.1191, allocations: 156.5 kB / 0.5062 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1191, allocations: 256 / 0.5062 GB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1193, allocations: 79.84 kB / 0.5062 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.1196, allocations: 58.55 kB / 0.5063 GB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.1231, allocations: 2.886 MB / 0.5091 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.1232, allocations: 142.2 kB / 0.5092 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.638e-05/0.1233, allocations: 30.28 kB / 0.5093 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1234, allocations: 79.42 kB / 0.5094 GB, free: 3.703 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1234, allocations: 0 / 0.5094 GB, free: 3.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.21/0.3334, allocations: 6.11 MB / 0.5153 GB, free: 23.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.12, allocations: 4.312 kB / 0.5153 GB, free: 23.33 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.637577501009218] Failed to read output from testmodel.py, exit status != 0: 11.287402654998004 11.299695199 11.188523057 Calling exit ...