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.00169/0.00169, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002299/0.002299, allocations: 211.2 kB / 22.25 MB, free: 5.086 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 8.031 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.0668/0.0668, allocations: 11.33 MB / 323.8 MB, free: 8.27 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="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: 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.00299/0.00299, allocations: 79.88 kB / 451.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1188, allocations: 56.06 MB / 0.4952 GB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003117/0.1219, allocations: 1.883 MB / 0.4971 GB, free: 496 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.123, allocations: 0.6148 MB / 0.4977 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.1231, allocations: 0 / 0.4977 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.272e-05/0.1232, allocations: 19.69 kB / 0.4977 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1233, allocations: 35.67 kB / 0.4977 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.1238, allocations: 191.4 kB / 0.4979 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.1241, allocations: 203.4 kB / 0.4981 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.1243, allocations: 40.73 kB / 0.4981 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1244, allocations: 91.56 kB / 0.4982 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1245, allocations: 99.47 kB / 0.4983 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.1246, allocations: 16 kB / 0.4983 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.1248, allocations: 155.9 kB / 0.4985 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.1249, allocations: 59.75 kB / 0.4985 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.125, allocations: 99.27 kB / 0.4986 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.1254, allocations: 302.8 kB / 0.4989 GB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1254, allocations: 0 / 0.4989 GB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1254, allocations: 11.94 kB / 0.4989 GB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1254, allocations: 0 / 0.4989 GB, free: 14.56 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.0008819/0.1263, allocations: 0.4927 MB / 0.4994 GB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1263, allocations: 8.031 kB / 0.4994 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.1264, allocations: 42.73 kB / 0.4995 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.1264, allocations: 28.75 kB / 0.4995 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1267, allocations: 217.5 kB / 0.4997 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1268, allocations: 8.375 kB / 0.4997 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1268, allocations: 20.33 kB / 0.4997 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.1271, allocations: 178.3 kB / 0.4999 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1271, allocations: 7.875 kB / 0.4999 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1272, allocations: 4 kB / 0.4999 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1272, allocations: 11.98 kB / 0.4999 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.1273, allocations: 63.95 kB / 0.5 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.1283, allocations: 491.4 kB / 0.5004 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.1286, allocations: 142.7 kB / 0.5006 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1287, allocations: 56.83 kB / 0.5006 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1287, allocations: 0 / 0.5006 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.1291, allocations: 139.3 kB / 0.5008 GB, free: 12.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.1291, allocations: 0 / 0.5008 GB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005688/0.1296, allocations: 271.2 kB / 0.501 GB, free: 12.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.1297, allocations: 162.2 kB / 0.5012 GB, free: 12.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.13, allocations: 261.8 kB / 0.5014 GB, free: 11.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.1301, allocations: 33.69 kB / 0.5015 GB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1302, allocations: 152.4 kB / 0.5016 GB, free: 11.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.1302, allocations: 67.53 kB / 0.5017 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.1303, allocations: 57.98 kB / 0.5017 GB, free: 11.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1305, allocations: 342.8 kB / 0.5021 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1306, allocations: 48.27 kB / 0.5021 GB, free: 11.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.1308, allocations: 189.7 kB / 0.5023 GB, free: 10.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.1312, allocations: 237.5 kB / 0.5025 GB, free: 10.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.1312, allocations: 4 kB / 0.5025 GB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004839/0.1317, allocations: 272.5 kB / 0.5028 GB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1317, allocations: 4 kB / 0.5028 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1317, allocations: 7.938 kB / 0.5028 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1317, allocations: 8 kB / 0.5028 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.132, allocations: 56.38 kB / 0.5028 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.132, allocations: 15.94 kB / 0.5029 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1322, allocations: 31.77 kB / 0.5029 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1322, allocations: 16 kB / 0.5029 GB, free: 10.14 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.000187/0.1324, allocations: 142.3 kB / 0.503 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.1325, allocations: 35.73 kB / 0.5031 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.1325, allocations: 26.06 kB / 0.5031 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1325, allocations: 7.984 kB / 0.5031 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1325, allocations: 7.938 kB / 0.5031 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1326, allocations: 0 / 0.5031 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.1333, allocations: 0.513 MB / 0.5036 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1333, allocations: 0 / 0.5036 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.1335, allocations: 39.92 kB / 0.5037 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1335, allocations: 0 / 0.5037 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1335, allocations: 11.92 kB / 0.5037 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1335, allocations: 0 / 0.5037 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1335, allocations: 4 kB / 0.5037 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006013/0.1341, allocations: 390 kB / 0.504 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.1342, allocations: 23.81 kB / 0.5041 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.1342, allocations: 12 kB / 0.5041 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1344, allocations: 11.98 kB / 0.5041 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1345, allocations: 11.97 kB / 0.5041 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.1345, allocations: 12.05 kB / 0.5041 GB, free: 8.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1347, allocations: 189.2 kB / 0.5043 GB, free: 8.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1347, allocations: 0 / 0.5043 GB, free: 8.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.135, allocations: 87.73 kB / 0.5044 GB, free: 8.566 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.001038/0.1361, allocations: 0.9839 MB / 0.5053 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.1364, allocations: 163.8 kB / 0.5055 GB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1364, allocations: 0 / 0.5055 GB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.1366, allocations: 63.92 kB / 0.5056 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.137, allocations: 51.73 kB / 0.5056 GB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.1408, allocations: 2.907 MB / 0.5084 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1411, allocations: 0.7401 MB / 0.5092 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.1412, allocations: 30.28 kB / 0.5092 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1414, allocations: 75.42 kB / 0.5093 GB, free: 3.336 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1414, allocations: 0 / 0.5093 GB, free: 3.336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.277/0.4184, allocations: 5.965 MB / 0.5151 GB, free: 22.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.65, allocations: 1.469 kB / 0.5151 GB, free: 22.18 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.583747789998597] Failed to read output from testmodel.py, exit status != 0: 11.7650446560001 11.789362444 11.659143892 Calling exit ...