Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.001836/0.001836, 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.002296/0.002296, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.012 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.0705/0.0705, allocations: 11.35 MB / 323.8 MB, free: 8.23 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.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",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.002361/0.002361, allocations: 67.91 kB / 451 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1235, allocations: 56.07 MB / 0.4952 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.00324/0.1268, allocations: 1.633 MB / 0.4968 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006898/0.1275, allocations: 243.2 kB / 0.497 GB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.1275, allocations: 7.938 kB / 0.4971 GB, free: 460 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.1276, allocations: 11.86 kB / 0.4971 GB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1277, allocations: 11.88 kB / 0.4971 GB, free: 436 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.128, allocations: 75.8 kB / 0.4971 GB, free: 360 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1282, allocations: 103.6 kB / 0.4972 GB, free: 256 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1284, allocations: 13.62 kB / 0.4973 GB, free: 236 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.1284, allocations: 51.78 kB / 0.4973 GB, free: 184 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.1285, allocations: 51.7 kB / 0.4974 GB, free: 132 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1285, allocations: 8 kB / 0.4974 GB, free: 124 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.1286, allocations: 27.98 kB / 0.4974 GB, free: 96 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.1287, allocations: 31.89 kB / 0.4974 GB, free: 64 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.1287, allocations: 47.61 kB / 0.4975 GB, free: 16 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1289, allocations: 115.8 kB / 0.4976 GB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.129, allocations: 0 / 0.4976 GB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.129, allocations: 0 / 0.4976 GB, free: 15.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.129, allocations: 0 / 0.4976 GB, free: 15.9 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006092/0.1296, allocations: 345.7 kB / 0.4979 GB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1296, allocations: 12.03 kB / 0.4979 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1296, allocations: 42.67 kB / 0.498 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.1297, allocations: 16.84 kB / 0.498 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.1299, allocations: 154.3 kB / 0.4981 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1299, allocations: 8.375 kB / 0.4981 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.13, allocations: 8.312 kB / 0.4981 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.1302, allocations: 102.1 kB / 0.4982 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1302, allocations: 7.938 kB / 0.4982 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1302, allocations: 0 / 0.4982 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1302, allocations: 0 / 0.4982 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1304, allocations: 51.91 kB / 0.4983 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.131, allocations: 335.8 kB / 0.4986 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1312, allocations: 110.5 kB / 0.4987 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1313, allocations: 52.83 kB / 0.4988 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1314, allocations: 4 kB / 0.4988 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1316, allocations: 103.3 kB / 0.4989 GB, free: 14.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.1316, allocations: 0 / 0.4989 GB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004399/0.1321, allocations: 193.5 kB / 0.4991 GB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1321, allocations: 55.41 kB / 0.4991 GB, free: 14.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1323, allocations: 167.4 kB / 0.4993 GB, free: 14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1323, allocations: 29.7 kB / 0.4993 GB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.1324, allocations: 112 kB / 0.4994 GB, free: 13.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.1324, allocations: 39.69 kB / 0.4994 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.1325, allocations: 37.7 kB / 0.4995 GB, free: 13.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1327, allocations: 330.8 kB / 0.4998 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.1327, allocations: 31.98 kB / 0.4998 GB, free: 13.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1329, allocations: 77.98 kB / 0.4999 GB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1331, allocations: 132.2 kB / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1331, allocations: 0 / 0.5 GB, free: 13.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002925/0.1333, allocations: 161.5 kB / 0.5002 GB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1334, allocations: 4 kB / 0.5002 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1334, allocations: 4 kB / 0.5002 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1334, allocations: 0 / 0.5002 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1335, allocations: 35.92 kB / 0.5002 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1335, allocations: 3.984 kB / 0.5002 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.1336, allocations: 15.89 kB / 0.5002 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1336, allocations: 8 kB / 0.5002 GB, free: 12.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000125/0.1337, allocations: 137.8 kB / 0.5004 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1338, allocations: 11.91 kB / 0.5004 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.1338, allocations: 17.45 kB / 0.5004 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1338, allocations: 7.938 kB / 0.5004 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1338, allocations: 0 / 0.5004 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1338, allocations: 0 / 0.5004 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.1343, allocations: 409.5 kB / 0.5008 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1343, allocations: 0 / 0.5008 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1344, allocations: 23.98 kB / 0.5008 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1344, allocations: 0 / 0.5008 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1345, allocations: 7.984 kB / 0.5008 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1345, allocations: 3.938 kB / 0.5008 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1345, allocations: 7.938 kB / 0.5008 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.1349, allocations: 290.6 kB / 0.5011 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.135, allocations: 23.86 kB / 0.5011 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.135, allocations: 4.062 kB / 0.5012 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.1351, allocations: 4 kB / 0.5012 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.1351, allocations: 15.92 kB / 0.5012 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1351, allocations: 4 kB / 0.5012 GB, free: 11.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1353, allocations: 124.9 kB / 0.5013 GB, free: 11.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1353, allocations: 0 / 0.5013 GB, free: 11.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1355, allocations: 28 kB / 0.5013 GB, free: 11.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008384/0.1364, allocations: 0.8411 MB / 0.5021 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1366, allocations: 99.89 kB / 0.5022 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1366, allocations: 0 / 0.5022 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1368, allocations: 48.36 kB / 0.5023 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1371, allocations: 44.17 kB / 0.5023 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.1396, allocations: 1.91 MB / 0.5042 GB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.14, allocations: 0.7162 MB / 0.5049 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.1401, allocations: 17.36 kB / 0.5049 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.1402, allocations: 35.42 kB / 0.5049 GB, free: 7.875 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1402, allocations: 0 / 0.5049 GB, free: 7.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.1737, allocations: 3.192 MB / 0.5081 GB, free: 4.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.12, allocations: 0 / 0.5081 GB, free: 4.836 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.001114665996283] Failed to read output from testmodel.py, exit status != 0: 11.221577829914168 11.436621418 11.305225686 Calling exit ...