Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.001268/0.001268, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001451/0.001451, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02989/0.02989, allocations: 5.484 MB / 318.7 MB, free: 13.54 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.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(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics 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.002228/0.002228, allocations: 59.91 kB / 446.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1102, allocations: 54.62 MB / 0.4897 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005086/0.1153, allocations: 3.139 MB / 0.4928 GB, free: 9.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1177, allocations: 1.196 MB / 0.494 GB, free: 8.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003899/0.1181, allocations: 7.938 kB / 0.494 GB, free: 8.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.1189, allocations: 214.7 kB / 0.4942 GB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.1195, allocations: 162.9 kB / 0.4943 GB, free: 8.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1199, allocations: 127.7 kB / 0.4945 GB, free: 8.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008912/0.1208, allocations: 0.5565 MB / 0.495 GB, free: 7.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.1211, allocations: 84.58 kB / 0.4951 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003889/0.1215, allocations: 219.2 kB / 0.4953 GB, free: 7.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.1219, allocations: 251 kB / 0.4955 GB, free: 6.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.122, allocations: 52 kB / 0.4956 GB, free: 6.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.1222, allocations: 75.98 kB / 0.4957 GB, free: 6.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1223, allocations: 111.6 kB / 0.4958 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.1226, allocations: 195.1 kB / 0.4959 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.1233, allocations: 0.537 MB / 0.4965 GB, free: 6.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.1233, allocations: 0 / 0.4965 GB, free: 6.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1233, allocations: 0 / 0.4965 GB, free: 6.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.1234, allocations: 0 / 0.4965 GB, free: 6.004 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002316/0.1257, allocations: 0.7423 MB / 0.4972 GB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1257, allocations: 16.03 kB / 0.4972 GB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.288e-05/0.1257, allocations: 4.688 kB / 0.4972 GB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.873e-05/0.1258, allocations: 62.67 kB / 0.4973 GB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1259, allocations: 48.59 kB / 0.4973 GB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.1272, allocations: 427.5 kB / 0.4977 GB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1272, allocations: 12.5 kB / 0.4977 GB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.1272, allocations: 24 kB / 0.4978 GB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.1279, allocations: 322 kB / 0.4981 GB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1279, allocations: 4 kB / 0.4981 GB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1279, allocations: 16 kB / 0.4981 GB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1279, allocations: 8 kB / 0.4981 GB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.1285, allocations: 241.5 kB / 0.4983 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.1308, allocations: 1.15 MB / 0.4995 GB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.1313, allocations: 182.4 kB / 0.4996 GB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.1316, allocations: 104.8 kB / 0.4997 GB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1316, allocations: 4 kB / 0.4997 GB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1317, allocations: 30.56 kB / 0.4998 GB, free: 2.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1317, allocations: 0 / 0.4998 GB, free: 2.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.002158/0.1338, allocations: 486.3 kB / 0.5002 GB, free: 1.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.1339, allocations: 55.34 kB / 0.5003 GB, free: 1.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.1343, allocations: 393.6 kB / 0.5006 GB, free: 1.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.1344, allocations: 29.7 kB / 0.5007 GB, free: 1.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1345, allocations: 224.2 kB / 0.5009 GB, free: 1.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1346, allocations: 35.69 kB / 0.5009 GB, free: 1.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1347, allocations: 57.64 kB / 0.501 GB, free: 1.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1348, allocations: 346.8 kB / 0.5013 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.1351, allocations: 96.03 kB / 0.5014 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.1354, allocations: 143.2 kB / 0.5015 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.1359, allocations: 220.8 kB / 0.5017 GB, free: 332 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1359, allocations: 0 / 0.5017 GB, free: 332 kB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001301/0.1372, allocations: 438.5 kB / 0.5022 GB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.1372, allocations: 11.94 kB / 0.5022 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1372, allocations: 3.938 kB / 0.5022 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008978/0.1381, allocations: 241.6 kB / 0.5024 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1383, allocations: 43.91 kB / 0.5025 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.1407, allocations: 2.105 MB / 0.5045 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.1411, allocations: 43.78 kB / 0.5046 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.1411, allocations: 8 kB / 0.5046 GB, free: 13.29 MB / 382.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 (22): * Single equations (assignments): 20 * 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.0001868/0.1413, allocations: 148.9 kB / 0.5047 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.1414, allocations: 35.77 kB / 0.5047 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/0.1414, allocations: 47.05 kB / 0.5048 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1414, allocations: 64 / 0.5048 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1414, allocations: 4 kB / 0.5048 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1414, allocations: 0 / 0.5048 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.1427, allocations: 0.6435 MB / 0.5054 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1427, allocations: 0 / 0.5054 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1428, allocations: 19.98 kB / 0.5054 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003504/0.1431, allocations: 156.8 kB / 0.5056 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1431, allocations: 4 kB / 0.5056 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006835/0.1438, allocations: 0.6576 MB / 0.5062 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1438, allocations: 0 / 0.5062 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.1445, allocations: 364.8 kB / 0.5066 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1446, allocations: 55.61 kB / 0.5066 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.1447, allocations: 8.062 kB / 0.5066 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.1449, allocations: 19.98 kB / 0.5067 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.145, allocations: 3.984 kB / 0.5067 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.145, allocations: 8 kB / 0.5067 GB, free: 11.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003083/0.1453, allocations: 271.2 kB / 0.5069 GB, free: 10.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1453, allocations: 0 / 0.5069 GB, free: 10.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003718/0.1457, allocations: 75.89 kB / 0.507 GB, free: 10.68 MB / 382.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 (9): * Single equations (assignments): 8 * 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.001105/0.1468, allocations: 0.909 MB / 0.5079 GB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009083/0.1477, allocations: 371.2 kB / 0.5082 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1477, allocations: 0 / 0.5082 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.1479, allocations: 79.94 kB / 0.5083 GB, free: 9.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.1484, allocations: 73.58 kB / 0.5084 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.1541, allocations: 3.347 MB / 0.5117 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.1543, allocations: 173.1 kB / 0.5118 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.1545, allocations: 38.95 kB / 0.5119 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.1546, allocations: 119.3 kB / 0.512 GB, free: 5.402 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1546, allocations: 0 / 0.512 GB, free: 5.402 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2335/0.3881, allocations: 8.833 MB / 0.5206 GB, free: 33.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.08, allocations: 5.172 kB / 0.5206 GB, free: 33.64 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.722142831073143] Failed to read output from testmodel.py, exit status != 0: 13.25772680400405 13.277911378 13.150748733 Calling exit ...