Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.001213/0.001213, allocations: 108.6 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.001242/0.001242, 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.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03006/0.03006, allocations: 5.465 MB / 308.1 MB, free: 4.445 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 432.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.1001, allocations: 53.41 MB / 485.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004967/0.105, allocations: 3.444 MB / 488.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1074, allocations: 1.277 MB / 490.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.1076, allocations: 4 kB / 490.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.1083, allocations: 230.6 kB / 490.4 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.1086, allocations: 174.8 kB / 490.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1088, allocations: 107.9 kB / 490.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.1095, allocations: 0.583 MB / 491.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.1097, allocations: 88.11 kB / 491.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.11, allocations: 219.2 kB / 491.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.1104, allocations: 259 kB / 491.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.1104, allocations: 52 kB / 491.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1105, allocations: 59.98 kB / 491.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1107, allocations: 111.6 kB / 492.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.1109, allocations: 238.8 kB / 492.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.1116, allocations: 0.5408 MB / 492.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1116, allocations: 4 kB / 492.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1116, allocations: 0 / 492.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1116, allocations: 3.938 kB / 492.8 MB, free: 2.723 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002029/0.1136, allocations: 0.8333 MB / 493.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1137, allocations: 12.03 kB / 493.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.544e-05/0.1137, allocations: 58.72 kB / 493.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.1138, allocations: 44.66 kB / 493.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.1151, allocations: 0.4927 MB / 494.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.1152, allocations: 24.5 kB / 494.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.1152, allocations: 24 kB / 494.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.1158, allocations: 317.4 kB / 494.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1159, allocations: 7.922 kB / 494.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.1159, allocations: 12 kB / 494.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1159, allocations: 4 kB / 494.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.1166, allocations: 286 kB / 494.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.1193, allocations: 1.323 MB / 496.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.12, allocations: 295.5 kB / 496.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.1204, allocations: 132.8 kB / 496.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1204, allocations: 0 / 496.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1205, allocations: 30.56 kB / 496.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.1205, allocations: 0 / 496.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.003707/0.1242, allocations: 0.7529 MB / 497.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1242, allocations: 51.41 kB / 497.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.1247, allocations: 389.6 kB / 497.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1247, allocations: 29.7 kB / 497.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1249, allocations: 228.2 kB / 498.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.125, allocations: 51.55 kB / 498.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1251, allocations: 57.67 kB / 498.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1253, allocations: 342.8 kB / 498.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.1256, allocations: 119.9 kB / 498.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.126, allocations: 147.6 kB / 498.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.1266, allocations: 252.7 kB / 499.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1266, allocations: 0 / 499.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002774/0.1294, allocations: 0.6259 MB / 499.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1294, allocations: 8 kB / 499.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1294, allocations: 3.984 kB / 499.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.1304, allocations: 257.6 kB / 500 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.1306, allocations: 51.91 kB / 0.4883 GB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/0.1374, allocations: 3.926 MB / 0.4921 GB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.1379, allocations: 51.81 kB / 0.4922 GB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1379, allocations: 4 kB / 0.4922 GB, free: 6.906 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.1381, allocations: 147.5 kB / 0.4923 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.1382, allocations: 39.7 kB / 0.4924 GB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.1382, allocations: 43.23 kB / 0.4924 GB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1382, allocations: 0 / 0.4924 GB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1382, allocations: 0 / 0.4924 GB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1382, allocations: 4 kB / 0.4924 GB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/0.1412, allocations: 0.9446 MB / 0.4933 GB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1412, allocations: 0 / 0.4933 GB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1413, allocations: 24.02 kB / 0.4934 GB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/0.1417, allocations: 172.8 kB / 0.4935 GB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1417, allocations: 8 kB / 0.4935 GB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004508/0.1463, allocations: 2.136 MB / 0.4956 GB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1463, allocations: 4.062 kB / 0.4956 GB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.1485, allocations: 0.5781 MB / 0.4962 GB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1488, allocations: 132.8 kB / 0.4963 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.1488, allocations: 4 kB / 0.4963 GB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.1491, allocations: 23.98 kB / 0.4963 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.1492, allocations: 11.97 kB / 0.4964 GB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1492, allocations: 4 kB / 0.4964 GB, free: 2.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.1495, allocations: 279.1 kB / 0.4966 GB, free: 2.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1495, allocations: 0 / 0.4966 GB, free: 2.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005508/0.1501, allocations: 95.89 kB / 0.4967 GB, free: 2.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00269/0.1528, allocations: 1.112 MB / 0.4978 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.154, allocations: 0.502 MB / 0.4983 GB, free: 356 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.154, allocations: 4 kB / 0.4983 GB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.1544, allocations: 210.6 kB / 0.4985 GB, free: 128 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.1549, allocations: 85.52 kB / 0.4986 GB, free: 44 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008986/0.1638, allocations: 3.819 MB / 0.5023 GB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.1644, allocations: 0.7795 MB / 0.5031 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.1646, allocations: 51.19 kB / 0.5031 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.1647, allocations: 111.4 kB / 0.5032 GB, free: 11.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1647, allocations: 0 / 0.5032 GB, free: 11.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.2074, allocations: 10.29 MB / 0.5133 GB, free: 1.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.51, allocations: 7.625 kB / 0.5133 GB, free: 1.023 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.297015433199704] Failed to read output from testmodel.py, exit status != 0: 12.80973753798753 12.824591917 12.71007322 Calling exit ...