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.001325/0.001325, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001635/0.001635, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.02862/0.02862, allocations: 5.487 MB / 318.7 MB, free: 13.72 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",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.001989/0.001989, allocations: 63.89 kB / 447 MB, free: 3.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.1014, allocations: 54.61 MB / 0.4898 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004552/0.106, allocations: 3.345 MB / 0.4931 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1079, allocations: 1.285 MB / 0.4944 GB, free: 8.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.108, allocations: 7.938 kB / 0.4944 GB, free: 8.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.1086, allocations: 226.8 kB / 0.4946 GB, free: 8.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.1089, allocations: 146.9 kB / 0.4947 GB, free: 8.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.1091, allocations: 119.8 kB / 0.4948 GB, free: 8.031 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.1096, allocations: 0.5215 MB / 0.4953 GB, free: 7.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1098, allocations: 88.58 kB / 0.4954 GB, free: 7.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.11, allocations: 211.2 kB / 0.4956 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.1103, allocations: 239.1 kB / 0.4959 GB, free: 6.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.1104, allocations: 51.94 kB / 0.4959 GB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1105, allocations: 68 kB / 0.496 GB, free: 6.859 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.1106, allocations: 103.6 kB / 0.4961 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.1108, allocations: 211 kB / 0.4963 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.1113, allocations: 0.5136 MB / 0.4968 GB, free: 6.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1114, allocations: 0 / 0.4968 GB, free: 6.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1114, allocations: 0 / 0.4968 GB, free: 6.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1114, allocations: 4 kB / 0.4968 GB, free: 6.031 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.001787/0.1131, allocations: 0.7112 MB / 0.4975 GB, free: 5.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1132, allocations: 8.031 kB / 0.4975 GB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.048e-05/0.1132, allocations: 8.625 kB / 0.4975 GB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/0.1133, allocations: 54.67 kB / 0.4975 GB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.1134, allocations: 48.59 kB / 0.4976 GB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.1143, allocations: 401.1 kB / 0.498 GB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1143, allocations: 16.44 kB / 0.498 GB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.1144, allocations: 24 kB / 0.498 GB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.1149, allocations: 279.3 kB / 0.4983 GB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1149, allocations: 0 / 0.4983 GB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.1149, allocations: 15.98 kB / 0.4983 GB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1149, allocations: 8 kB / 0.4983 GB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.1155, allocations: 228.9 kB / 0.4985 GB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.1176, allocations: 1.219 MB / 0.4997 GB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.118, allocations: 142.5 kB / 0.4998 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.1183, allocations: 88.8 kB / 0.4999 GB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1183, allocations: 0 / 0.4999 GB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1183, allocations: 42.55 kB / 0.5 GB, free: 2.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.1183, allocations: 0 / 0.5 GB, free: 2.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007335/0.1191, allocations: 245.3 kB / 0.5002 GB, free: 2.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1191, allocations: 51.41 kB / 0.5002 GB, free: 2.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.1195, allocations: 381.6 kB / 0.5006 GB, free: 1.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1196, allocations: 29.7 kB / 0.5006 GB, free: 1.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1197, allocations: 212.3 kB / 0.5008 GB, free: 1.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1197, allocations: 35.72 kB / 0.5009 GB, free: 1.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1198, allocations: 53.64 kB / 0.5009 GB, free: 1.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.12, allocations: 338.8 kB / 0.5012 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.1202, allocations: 95.94 kB / 0.5013 GB, free: 1.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.1205, allocations: 129 kB / 0.5015 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.121, allocations: 199.3 kB / 0.5017 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.121, allocations: 4 kB / 0.5017 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009485/0.1219, allocations: 353 kB / 0.502 GB, free: 424 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.122, allocations: 11.94 kB / 0.502 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.122, allocations: 0 / 0.502 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.1224, allocations: 80.72 kB / 0.5021 GB, free: 328 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.1227, allocations: 52.02 kB / 0.5021 GB, free: 276 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.1242, allocations: 1.463 MB / 0.5036 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.1245, allocations: 31.86 kB / 0.5036 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.1246, allocations: 11.98 kB / 0.5036 GB, free: 14.65 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.0001615/0.1247, allocations: 153.8 kB / 0.5037 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.1248, allocations: 27.81 kB / 0.5038 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.1248, allocations: 35 kB / 0.5038 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1248, allocations: 0 / 0.5038 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1248, allocations: 0 / 0.5038 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1248, allocations: 3.984 kB / 0.5038 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009231/0.1258, allocations: 0.5683 MB / 0.5044 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1258, allocations: 0 / 0.5044 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1259, allocations: 31.97 kB / 0.5044 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1259, allocations: 0 / 0.5044 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.126, allocations: 4 kB / 0.5044 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.126, allocations: 0 / 0.5044 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.126, allocations: 7.969 kB / 0.5044 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.1265, allocations: 292 kB / 0.5047 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1266, allocations: 47.78 kB / 0.5047 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.1266, allocations: 0 / 0.5047 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1268, allocations: 23.98 kB / 0.5048 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.1269, allocations: 11.92 kB / 0.5048 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1269, allocations: 0 / 0.5048 GB, free: 13.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002839/0.1272, allocations: 263.2 kB / 0.505 GB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1272, allocations: 0 / 0.505 GB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.1275, allocations: 71.88 kB / 0.5051 GB, free: 13.04 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.0008886/0.1284, allocations: 0.8383 MB / 0.5059 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008043/0.1292, allocations: 335.3 kB / 0.5062 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1292, allocations: 0 / 0.5062 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.1294, allocations: 71.95 kB / 0.5063 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.1299, allocations: 86.52 kB / 0.5064 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.1347, allocations: 3.075 MB / 0.5094 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.1352, allocations: 0.7678 MB / 0.5101 GB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.1354, allocations: 46.94 kB / 0.5102 GB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.1355, allocations: 103.4 kB / 0.5103 GB, free: 7.555 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1355, allocations: 0 / 0.5103 GB, free: 7.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.1646, allocations: 7.305 MB / 0.5174 GB, free: 444 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.58, allocations: 7.75 kB / 0.5174 GB, free: 440 kB / 382.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.410138770006597] Failed to read output from testmodel.py, exit status != 0: 12.980138581013307 12.993719367 12.879495804 Calling exit ...