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.00119/0.00119, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001259/0.001259, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.401/1.401, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.06093/0.06093, allocations: 11.33 MB / 320.9 MB, free: 14.16 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.001834/0.001834, allocations: 68.23 kB / 446.5 MB, free: 38.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09457, allocations: 56.01 MB / 0.4908 GB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002302/0.09687, allocations: 1.865 MB / 0.4926 GB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.09766, allocations: 0.6109 MB / 0.4932 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.09775, allocations: 4 kB / 0.4932 GB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.09779, allocations: 15.75 kB / 0.4932 GB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.0979, allocations: 35.61 kB / 0.4932 GB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.09832, allocations: 191.8 kB / 0.4934 GB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.0985, allocations: 211.4 kB / 0.4936 GB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.09862, allocations: 36.33 kB / 0.4937 GB, free: 476 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.09868, allocations: 87.52 kB / 0.4937 GB, free: 388 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.09876, allocations: 103.5 kB / 0.4938 GB, free: 284 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.09879, allocations: 16 kB / 0.4939 GB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.09895, allocations: 159.9 kB / 0.494 GB, free: 108 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.09899, allocations: 55.7 kB / 0.4941 GB, free: 52 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.09908, allocations: 103.3 kB / 0.4942 GB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.09947, allocations: 298.9 kB / 0.4944 GB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09948, allocations: 0 / 0.4944 GB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09948, allocations: 0 / 0.4944 GB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.09949, allocations: 0 / 0.4944 GB, free: 15.66 MB / 366.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.0009684/0.1005, allocations: 0.5757 MB / 0.495 GB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1005, allocations: 12.03 kB / 0.495 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.18e-05/0.1005, allocations: 192 / 0.495 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.1006, allocations: 46.73 kB / 0.4951 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.1006, allocations: 32.75 kB / 0.4951 GB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1009, allocations: 267.7 kB / 0.4953 GB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.101, allocations: 12.38 kB / 0.4954 GB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.101, allocations: 20.31 kB / 0.4954 GB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.1013, allocations: 180 kB / 0.4955 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1013, allocations: 0 / 0.4955 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.1014, allocations: 4 kB / 0.4956 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1014, allocations: 0 / 0.4956 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.1015, allocations: 71.89 kB / 0.4956 GB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.1025, allocations: 0.5275 MB / 0.4961 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1028, allocations: 126.6 kB / 0.4963 GB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1029, allocations: 60.83 kB / 0.4963 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1029, allocations: 4 kB / 0.4963 GB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.1032, allocations: 141.1 kB / 0.4965 GB, free: 13.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.1032, allocations: 0 / 0.4965 GB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005706/0.1038, allocations: 267.6 kB / 0.4967 GB, free: 13.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.1039, allocations: 166.2 kB / 0.4969 GB, free: 12.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1042, allocations: 258.7 kB / 0.4971 GB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.1042, allocations: 33.7 kB / 0.4971 GB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1043, allocations: 152.5 kB / 0.4973 GB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.1044, allocations: 67.52 kB / 0.4974 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.1044, allocations: 57.98 kB / 0.4974 GB, free: 12.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1046, allocations: 338.8 kB / 0.4977 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1047, allocations: 52.27 kB / 0.4978 GB, free: 11.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1049, allocations: 189.6 kB / 0.498 GB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.1053, allocations: 241.5 kB / 0.4982 GB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1053, allocations: 3.938 kB / 0.4982 GB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004462/0.1057, allocations: 273.5 kB / 0.4985 GB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1058, allocations: 8 kB / 0.4985 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1058, allocations: 4 kB / 0.4985 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1058, allocations: 4 kB / 0.4985 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.106, allocations: 55.91 kB / 0.4985 GB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.106, allocations: 11.88 kB / 0.4985 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.1062, allocations: 35.77 kB / 0.4986 GB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1062, allocations: 16 kB / 0.4986 GB, free: 11.02 MB / 366.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.000165/0.1064, allocations: 138.4 kB / 0.4987 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.1064, allocations: 31.8 kB / 0.4988 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.1065, allocations: 26.23 kB / 0.4988 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.1065, allocations: 7.984 kB / 0.4988 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1065, allocations: 7.875 kB / 0.4988 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1065, allocations: 3.984 kB / 0.4988 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.1072, allocations: 0.5412 MB / 0.4993 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.1072, allocations: 12 kB / 0.4993 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.1074, allocations: 31.98 kB / 0.4994 GB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1074, allocations: 3.938 kB / 0.4994 GB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1075, allocations: 7.984 kB / 0.4994 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1075, allocations: 4 kB / 0.4994 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1075, allocations: 0 / 0.4994 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.108, allocations: 397.2 kB / 0.4998 GB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.1081, allocations: 100.9 kB / 0.4999 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.1082, allocations: 12 kB / 0.4999 GB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1083, allocations: 11.98 kB / 0.4999 GB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1084, allocations: 11.98 kB / 0.4999 GB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1084, allocations: 11.98 kB / 0.4999 GB, free: 9.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.1086, allocations: 190 kB / 0.5001 GB, free: 9.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1086, allocations: 0 / 0.5001 GB, free: 9.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.109, allocations: 75.81 kB / 0.5002 GB, free: 9.312 MB / 366.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.001075/0.1101, allocations: 0.9789 MB / 0.5011 GB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.1104, allocations: 172.3 kB / 0.5013 GB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1104, allocations: 0 / 0.5013 GB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1106, allocations: 71.89 kB / 0.5013 GB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.111, allocations: 47.17 kB / 0.5014 GB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.1148, allocations: 2.905 MB / 0.5042 GB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1152, allocations: 0.748 MB / 0.505 GB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.98e-05/0.1153, allocations: 34.22 kB / 0.505 GB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.1154, allocations: 75.41 kB / 0.5051 GB, free: 4.082 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1154, allocations: 0 / 0.5051 GB, free: 4.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.1397, allocations: 5.763 MB / 0.5107 GB, free: 14.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.125, allocations: 4 kB / 0.5107 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.724857127002906] Failed to read output from testmodel.py, exit status != 0: 8.246663536992855 8.261464955 8.159166782 Calling exit ...