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.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.00169/0.00169, allocations: 113 kB / 18.94 MB, free: 2.934 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.001759/0.001759, allocations: 209.9 kB / 22.25 MB, free: 5.082 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 8.02 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.04537/0.04537, allocations: 5.482 MB / 317.9 MB, free: 13.75 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.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: 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.003476/0.003476, allocations: 63.91 kB / 446.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1279, allocations: 54.61 MB / 0.4891 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005447/0.1334, allocations: 3.353 MB / 0.4923 GB, free: 9.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.1359, allocations: 1.285 MB / 0.4936 GB, free: 8.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.1363, allocations: 4 kB / 0.4936 GB, free: 8.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.137, allocations: 234.7 kB / 0.4938 GB, free: 8.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.1375, allocations: 146.9 kB / 0.494 GB, free: 8.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.1377, allocations: 123.8 kB / 0.4941 GB, free: 8.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007427/0.1385, allocations: 0.5254 MB / 0.4946 GB, free: 7.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1387, allocations: 80.58 kB / 0.4947 GB, free: 7.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.1391, allocations: 207.2 kB / 0.4949 GB, free: 7.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.1395, allocations: 239.1 kB / 0.4951 GB, free: 7.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1396, allocations: 51.94 kB / 0.4951 GB, free: 6.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1398, allocations: 75.98 kB / 0.4952 GB, free: 6.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1399, allocations: 91.73 kB / 0.4953 GB, free: 6.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1402, allocations: 222.9 kB / 0.4955 GB, free: 6.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.1408, allocations: 0.502 MB / 0.496 GB, free: 6.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1409, allocations: 7.938 kB / 0.496 GB, free: 6.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1409, allocations: 0 / 0.496 GB, free: 6.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.1409, allocations: 0 / 0.496 GB, free: 6.094 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002087/0.143, allocations: 0.7073 MB / 0.4967 GB, free: 5.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.143, allocations: 12.03 kB / 0.4967 GB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.045e-05/0.1431, allocations: 54.73 kB / 0.4968 GB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1432, allocations: 48.66 kB / 0.4968 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1443, allocations: 401.2 kB / 0.4972 GB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.1444, allocations: 20.38 kB / 0.4972 GB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1444, allocations: 20 kB / 0.4972 GB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.145, allocations: 279.3 kB / 0.4975 GB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.145, allocations: 0 / 0.4975 GB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.145, allocations: 12 kB / 0.4975 GB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.145, allocations: 11.94 kB / 0.4975 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.1456, allocations: 232.9 kB / 0.4977 GB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.148, allocations: 1.215 MB / 0.4989 GB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.1484, allocations: 138.4 kB / 0.4991 GB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.1487, allocations: 96.78 kB / 0.4992 GB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1487, allocations: 7.984 kB / 0.4992 GB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1487, allocations: 34.56 kB / 0.4992 GB, free: 2.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1487, allocations: 0 / 0.4992 GB, free: 2.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007632/0.1495, allocations: 249.5 kB / 0.4994 GB, free: 2.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.1496, allocations: 59.34 kB / 0.4995 GB, free: 2.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.1501, allocations: 369.6 kB / 0.4998 GB, free: 1.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1501, allocations: 29.7 kB / 0.4999 GB, free: 1.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.1503, allocations: 208.2 kB / 0.5001 GB, free: 1.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.1503, allocations: 39.73 kB / 0.5001 GB, free: 1.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1504, allocations: 49.64 kB / 0.5002 GB, free: 1.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1506, allocations: 338.8 kB / 0.5005 GB, free: 1.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.1509, allocations: 99.94 kB / 0.5006 GB, free: 1.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.1511, allocations: 125.6 kB / 0.5007 GB, free: 1.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.1517, allocations: 203.3 kB / 0.5009 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1517, allocations: 4 kB / 0.5009 GB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001051/0.1528, allocations: 344.3 kB / 0.5012 GB, free: 500 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1528, allocations: 4 kB / 0.5012 GB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1528, allocations: 11.88 kB / 0.5012 GB, free: 484 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/0.1533, allocations: 84.77 kB / 0.5013 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.1536, allocations: 55.95 kB / 0.5014 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.1555, allocations: 1.455 MB / 0.5028 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.1559, allocations: 39.81 kB / 0.5028 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.1559, allocations: 4 kB / 0.5028 GB, free: 14.72 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): 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.0002119/0.1561, allocations: 153.8 kB / 0.503 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.1562, allocations: 27.81 kB / 0.503 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-05/0.1563, allocations: 31.03 kB / 0.503 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1563, allocations: 7.984 kB / 0.503 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1563, allocations: 0 / 0.503 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1563, allocations: 0 / 0.503 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.1576, allocations: 0.5684 MB / 0.5036 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1576, allocations: 0 / 0.5036 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.1577, allocations: 35.91 kB / 0.5036 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1578, allocations: 0 / 0.5036 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1578, allocations: 0 / 0.5036 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1578, allocations: 4 kB / 0.5036 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1578, allocations: 4.422 kB / 0.5036 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.1583, allocations: 300 kB / 0.5039 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1585, allocations: 47.72 kB / 0.504 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.1585, allocations: 8 kB / 0.504 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.1587, allocations: 11.98 kB / 0.504 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.1588, allocations: 15.86 kB / 0.504 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1588, allocations: 4 kB / 0.504 GB, free: 13.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003295/0.1591, allocations: 263.2 kB / 0.5043 GB, free: 13.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1591, allocations: 0 / 0.5043 GB, free: 13.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.1595, allocations: 67.89 kB / 0.5043 GB, free: 13.1 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 (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.001111/0.1606, allocations: 0.834 MB / 0.5051 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008459/0.1615, allocations: 335.3 kB / 0.5055 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1615, allocations: 3.938 kB / 0.5055 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.1617, allocations: 68.2 kB / 0.5055 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.1622, allocations: 72.62 kB / 0.5056 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.168, allocations: 3.083 MB / 0.5086 GB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.1685, allocations: 0.7678 MB / 0.5094 GB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.1687, allocations: 42.95 kB / 0.5094 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.1689, allocations: 107.4 kB / 0.5095 GB, free: 7.625 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1689, allocations: 0 / 0.5095 GB, free: 7.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.2091, allocations: 7.276 MB / 0.5166 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.28, allocations: 4.062 kB / 0.5166 GB, free: 0.5195 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.29869109694846] Failed to read output from testmodel.py, exit status != 0: 13.635440581012517 13.648139265 13.504375656 Calling exit ...