Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.001236/0.001236, allocations: 111.3 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.001272/0.001272, allocations: 192.5 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.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 13.91 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.06955/0.06955, allocations: 11.35 MB / 314 MB, free: 14.92 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.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 437.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1047, allocations: 54.83 MB / 492.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002918/0.1077, allocations: 1.645 MB / 493.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000661/0.1083, allocations: 314.9 kB / 494.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.1084, allocations: 0 / 494.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.1084, allocations: 11.81 kB / 494.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1085, allocations: 23.8 kB / 494.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1089, allocations: 85.67 kB / 494.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1091, allocations: 135.7 kB / 494.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1092, allocations: 21.55 kB / 494.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.1093, allocations: 55.66 kB / 494.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.1093, allocations: 59.69 kB / 494.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1094, allocations: 12 kB / 494.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.1095, allocations: 39.97 kB / 494.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1095, allocations: 39.83 kB / 494.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1096, allocations: 59.55 kB / 494.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1098, allocations: 139.4 kB / 494.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1098, allocations: 4 kB / 494.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1098, allocations: 0 / 494.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1098, allocations: 4 kB / 494.8 MB, free: 0.8477 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006759/0.1105, allocations: 458.5 kB / 495.2 MB, free: 356 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1105, allocations: 15.89 kB / 495.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1106, allocations: 42.67 kB / 495.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.1106, allocations: 20.84 kB / 495.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1109, allocations: 232.2 kB / 495.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1109, allocations: 4.375 kB / 495.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1109, allocations: 12.38 kB / 495.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1112, allocations: 142.3 kB / 495.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1112, allocations: 7.922 kB / 495.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1112, allocations: 0 / 495.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1112, allocations: 4 kB / 495.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.1114, allocations: 47.97 kB / 495.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.112, allocations: 416.5 kB / 496.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.1122, allocations: 110.6 kB / 496.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1124, allocations: 60.77 kB / 496.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1124, allocations: 4 kB / 496.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1126, allocations: 103.3 kB / 496.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.542e-06/0.1126, allocations: 4 kB / 496.4 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004549/0.1131, allocations: 199.9 kB / 496.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1132, allocations: 158.2 kB / 496.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1134, allocations: 186.5 kB / 497 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1134, allocations: 33.7 kB / 497 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.1135, allocations: 120 kB / 497.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.1135, allocations: 39.78 kB / 497.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.1136, allocations: 41.7 kB / 497.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1138, allocations: 334.8 kB / 497.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.1139, allocations: 35.98 kB / 497.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.114, allocations: 120.5 kB / 497.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.1142, allocations: 129 kB / 497.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1142, allocations: 0 / 497.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002904/0.1145, allocations: 169.3 kB / 498 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1145, allocations: 10.19 kB / 498 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1145, allocations: 8.172 kB / 498 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1146, allocations: 7.938 kB / 498 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1147, allocations: 27.98 kB / 498 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1147, allocations: 7.875 kB / 498 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1149, allocations: 19.89 kB / 498 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1149, allocations: 8 kB / 498.1 MB, free: 13.25 MB / 366.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,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001179/0.115, allocations: 126.7 kB / 498.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.115, allocations: 19.91 kB / 498.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.1151, allocations: 17.53 kB / 498.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1151, allocations: 7.938 kB / 498.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1151, allocations: 3.984 kB / 498.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1151, allocations: 0 / 498.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.1156, allocations: 462.4 kB / 498.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1156, allocations: 0 / 498.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1157, allocations: 23.92 kB / 498.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1158, allocations: 0 / 498.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1158, allocations: 12 kB / 498.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1158, allocations: 3.938 kB / 498.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1158, allocations: 0 / 498.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.1162, allocations: 315.4 kB / 499 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.1163, allocations: 104.8 kB / 499.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1163, allocations: 0 / 499.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.1165, allocations: 20.05 kB / 499.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.1165, allocations: 4 kB / 499.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1166, allocations: 7.984 kB / 499.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1167, allocations: 140.3 kB / 499.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1167, allocations: 0 / 499.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1169, allocations: 35.98 kB / 499.3 MB, free: 11.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0008095/0.1178, allocations: 0.876 MB / 0.4885 GB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.118, allocations: 102.6 kB / 0.4886 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.118, allocations: 4 kB / 0.4886 GB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1181, allocations: 47.97 kB / 0.4886 GB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1184, allocations: 32.42 kB / 0.4887 GB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.121, allocations: 2.048 MB / 0.4907 GB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1213, allocations: 0.7165 MB / 0.4914 GB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1214, allocations: 29.45 kB / 0.4914 GB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.1215, allocations: 51.36 kB / 0.4914 GB, free: 7.801 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1215, allocations: 4 kB / 0.4914 GB, free: 7.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.15, allocations: 3.71 MB / 0.4951 GB, free: 4.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.285, allocations: 13.3 kB / 0.4951 GB, free: 4.23 MB / 366.1 MB " [Timeout remaining time 652] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.806744230911136] Failed to read output from testmodel.py, exit status != 0: 8.354661385063082 8.377877933 8.264453548 Calling exit ...