Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.001275/0.001275, allocations: 108.2 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.001338/0.001338, allocations: 191.8 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.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.02933/0.02933, allocations: 5.468 MB / 308.1 MB, free: 4.441 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.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.88 kB / 432.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09477, allocations: 53.39 MB / 485.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004765/0.09953, allocations: 3.288 MB / 488.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1014, allocations: 1.238 MB / 490 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1016, allocations: 7.938 kB / 490 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005312/0.1021, allocations: 218.8 kB / 490.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1025, allocations: 158.9 kB / 490.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.1026, allocations: 99.88 kB / 490.5 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.1032, allocations: 0.5254 MB / 491 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1034, allocations: 84.06 kB / 491.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1036, allocations: 195.3 kB / 491.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.1039, allocations: 239 kB / 491.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.104, allocations: 48 kB / 491.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1041, allocations: 63.98 kB / 491.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.1042, allocations: 99.66 kB / 491.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.1044, allocations: 214.9 kB / 491.9 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.1051, allocations: 0.5059 MB / 492.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1051, allocations: 0 / 492.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1051, allocations: 0 / 492.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1051, allocations: 0 / 492.4 MB, free: 3.129 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002058/0.1071, allocations: 0.7865 MB / 493.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1072, allocations: 12.03 kB / 493.2 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.255e-05/0.1072, allocations: 62.66 kB / 493.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.741e-05/0.1073, allocations: 40.7 kB / 493.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.1084, allocations: 476.3 kB / 493.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1085, allocations: 20.38 kB / 493.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.1085, allocations: 20 kB / 493.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.109, allocations: 279.3 kB / 494.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.109, allocations: 4 kB / 494.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.1091, allocations: 8 kB / 494.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.1091, allocations: 8 kB / 494.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.1096, allocations: 228.9 kB / 494.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002183/0.1118, allocations: 1.25 MB / 495.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.1122, allocations: 142.4 kB / 495.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.1125, allocations: 96.78 kB / 495.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1125, allocations: 4 kB / 495.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1125, allocations: 30.56 kB / 495.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1125, allocations: 0 / 495.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007144/0.1132, allocations: 253.5 kB / 496.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1133, allocations: 51.41 kB / 496.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.1137, allocations: 369.7 kB / 496.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1137, allocations: 29.7 kB / 496.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1139, allocations: 216 kB / 496.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1139, allocations: 27.73 kB / 496.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.114, allocations: 57.58 kB / 496.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1142, allocations: 346.7 kB / 497.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.1144, allocations: 95.94 kB / 497.3 MB, free: 14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.1147, allocations: 131 kB / 497.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.1152, allocations: 195.3 kB / 497.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1152, allocations: 0 / 497.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001001/0.1162, allocations: 352.8 kB / 497.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1162, allocations: 7.984 kB / 497.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1162, allocations: 0 / 497.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.1167, allocations: 76.86 kB / 498 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.117, allocations: 63.83 kB / 498.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.1188, allocations: 1.566 MB / 499.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.1191, allocations: 43.78 kB / 499.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1192, allocations: 16.02 kB / 499.7 MB, free: 11.39 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001631/0.1193, allocations: 142.7 kB / 499.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.1194, allocations: 35.77 kB / 499.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.1195, allocations: 31 kB / 499.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1195, allocations: 4 kB / 499.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1195, allocations: 0 / 499.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1195, allocations: 0 / 499.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009564/0.1204, allocations: 0.5928 MB / 0.4888 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1204, allocations: 0 / 0.4888 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.1206, allocations: 31.91 kB / 0.4888 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1206, allocations: 0 / 0.4888 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1206, allocations: 32 / 0.4888 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1206, allocations: 8 kB / 0.4888 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1206, allocations: 400 / 0.4888 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.1211, allocations: 304 kB / 0.4891 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.1213, allocations: 124.9 kB / 0.4892 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1213, allocations: 4 kB / 0.4892 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.1215, allocations: 11.98 kB / 0.4892 GB, free: 10 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1216, allocations: 11.92 kB / 0.4893 GB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1216, allocations: 0 / 0.4893 GB, free: 9.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.1219, allocations: 263.2 kB / 0.4895 GB, free: 9.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1219, allocations: 3.938 kB / 0.4895 GB, free: 9.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.1222, allocations: 67.89 kB / 0.4896 GB, free: 9.668 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008162/0.123, allocations: 0.8268 MB / 0.4904 GB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007795/0.1238, allocations: 339.2 kB / 0.4907 GB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1238, allocations: 0 / 0.4907 GB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.124, allocations: 72.14 kB / 0.4908 GB, free: 8.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.1245, allocations: 69.45 kB / 0.4908 GB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.1293, allocations: 3.088 MB / 0.4939 GB, free: 5.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1297, allocations: 0.7717 MB / 0.4946 GB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.1299, allocations: 42.95 kB / 0.4946 GB, free: 4.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.13, allocations: 111.3 kB / 0.4948 GB, free: 4.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.13, allocations: 0 / 0.4948 GB, free: 4.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.1634, allocations: 7.064 MB / 0.5017 GB, free: 13.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.11, allocations: 15.81 kB / 0.5017 GB, free: 13.26 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.60797588294372] Failed to read output from testmodel.py, exit status != 0: 12.210206978954375 12.236776962 12.126947087 Calling exit ...