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.001161/0.001161, allocations: 119 kB / 17.17 MB, free: 5.906 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.001305/0.001305, allocations: 211 kB / 20.13 MB, free: 2.969 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.413/1.413, 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.06006/0.06006, allocations: 11.34 MB / 320.9 MB, free: 14.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",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.001821/0.001821, allocations: 67.33 kB / 446.5 MB, free: 39.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08949, allocations: 56 MB / 0.4908 GB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002076/0.09157, allocations: 1.617 MB / 0.4923 GB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.09201, allocations: 251.1 kB / 0.4926 GB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.09207, allocations: 4 kB / 0.4926 GB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.0921, allocations: 7.875 kB / 0.4926 GB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.116e-05/0.09218, allocations: 19.8 kB / 0.4926 GB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.09241, allocations: 79.8 kB / 0.4927 GB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.09254, allocations: 91.77 kB / 0.4928 GB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.09264, allocations: 25.44 kB / 0.4928 GB, free: 1.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.09268, allocations: 43.72 kB / 0.4928 GB, free: 1.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.961e-05/0.09274, allocations: 51.75 kB / 0.4929 GB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.09276, allocations: 8 kB / 0.4929 GB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.087e-05/0.09282, allocations: 31.98 kB / 0.4929 GB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.09284, allocations: 27.84 kB / 0.4929 GB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.09288, allocations: 47.67 kB / 0.493 GB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.09301, allocations: 115.8 kB / 0.4931 GB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09302, allocations: 0 / 0.4931 GB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09302, allocations: 3.938 kB / 0.4931 GB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.09302, allocations: 4 kB / 0.4931 GB, free: 1.133 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004592/0.09348, allocations: 424.7 kB / 0.4935 GB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.09351, allocations: 12.03 kB / 0.4935 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.794e-05/0.09353, allocations: 192 / 0.4935 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.274e-05/0.09355, allocations: 42.73 kB / 0.4936 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.09359, allocations: 12.84 kB / 0.4936 GB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.09372, allocations: 217.9 kB / 0.4938 GB, free: 352 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.09373, allocations: 4.359 kB / 0.4938 GB, free: 348 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.09375, allocations: 16.38 kB / 0.4938 GB, free: 332 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.09391, allocations: 93.89 kB / 0.4939 GB, free: 232 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.09392, allocations: 0 / 0.4939 GB, free: 232 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.09393, allocations: 0 / 0.4939 GB, free: 232 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.09394, allocations: 4 kB / 0.4939 GB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.09405, allocations: 43.97 kB / 0.4939 GB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.09461, allocations: 380.6 kB / 0.4943 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.09482, allocations: 102.6 kB / 0.4944 GB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.09493, allocations: 60.77 kB / 0.4945 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.09494, allocations: 0 / 0.4945 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.09517, allocations: 109.6 kB / 0.4946 GB, free: 15.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.09517, allocations: 0 / 0.4946 GB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004165/0.09559, allocations: 181.5 kB / 0.4947 GB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.09564, allocations: 59.34 kB / 0.4948 GB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.09581, allocations: 173.8 kB / 0.495 GB, free: 15.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.09584, allocations: 29.7 kB / 0.495 GB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.09593, allocations: 112 kB / 0.4951 GB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.09596, allocations: 43.69 kB / 0.4951 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.09602, allocations: 33.7 kB / 0.4952 GB, free: 14.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.09617, allocations: 330.8 kB / 0.4955 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.09624, allocations: 31.98 kB / 0.4955 GB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.09635, allocations: 77.98 kB / 0.4956 GB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.09655, allocations: 128.8 kB / 0.4957 GB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.09655, allocations: 0 / 0.4957 GB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000312/0.09686, allocations: 165.4 kB / 0.4959 GB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.09688, allocations: 8 kB / 0.4959 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.09688, allocations: 0 / 0.4959 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.0969, allocations: 4 kB / 0.4959 GB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.09703, allocations: 31.92 kB / 0.4959 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.09703, allocations: 4 kB / 0.4959 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.0971, allocations: 24 kB / 0.4959 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.09711, allocations: 12 kB / 0.4959 GB, free: 13.95 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,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.0001028/0.09721, allocations: 123.8 kB / 0.4961 GB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.09724, allocations: 15.91 kB / 0.4961 GB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.09729, allocations: 17.53 kB / 0.4961 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.09729, allocations: 0 / 0.4961 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.09729, allocations: 0 / 0.4961 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.0973, allocations: 7.922 kB / 0.4961 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.09779, allocations: 434.5 kB / 0.4965 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.0978, allocations: 0 / 0.4965 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.0979, allocations: 23.92 kB / 0.4965 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.0979, allocations: 0 / 0.4965 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.09792, allocations: 0 / 0.4965 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.09792, allocations: 11.88 kB / 0.4966 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09792, allocations: 0 / 0.4966 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.09834, allocations: 293.4 kB / 0.4968 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.09841, allocations: 92.98 kB / 0.4969 GB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.09843, allocations: 11.98 kB / 0.4969 GB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.09851, allocations: 3.938 kB / 0.4969 GB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.09855, allocations: 7.984 kB / 0.4969 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.09856, allocations: 4 kB / 0.4969 GB, free: 12.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.911e-05/0.09866, allocations: 133.5 kB / 0.4971 GB, free: 12.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09866, allocations: 0 / 0.4971 GB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.09891, allocations: 24 kB / 0.4971 GB, free: 12.66 MB / 366.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.0007252/0.09963, allocations: 0.8413 MB / 0.4979 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.09986, allocations: 97.78 kB / 0.498 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.09986, allocations: 4.125 kB / 0.498 GB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.09997, allocations: 51.91 kB / 0.4981 GB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1003, allocations: 34.88 kB / 0.4981 GB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.1024, allocations: 1.925 MB / 0.5 GB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1028, allocations: 0.7046 MB / 0.5007 GB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.1028, allocations: 21.36 kB / 0.5007 GB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.1029, allocations: 39.42 kB / 0.5007 GB, free: 8.785 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1029, allocations: 0 / 0.5007 GB, free: 8.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.1232, allocations: 3.064 MB / 0.5037 GB, free: 5.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/7.92, allocations: 15.8 kB / 0.5037 GB, free: 5.883 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.494428791978862] Failed to read output from testmodel.py, exit status != 0: 8.040532611019444 8.055215118 7.959446658 Calling exit ...