Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.001429/0.001429, allocations: 114.3 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.001736/0.001736, allocations: 214.7 kB / 22.25 MB, free: 5.074 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.004 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.03088/0.03088, allocations: 5.48 MB / 317.9 MB, free: 13.73 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.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",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.002407/0.002407, allocations: 71.89 kB / 446.2 MB, free: 3.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1148, allocations: 54.62 MB / 0.4891 GB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.007155/0.122, allocations: 4.431 MB / 0.4934 GB, free: 8.727 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.1252, allocations: 1.659 MB / 0.495 GB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000504/0.1258, allocations: 15.88 kB / 0.495 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1269, allocations: 317 kB / 0.4953 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009047/0.1278, allocations: 246.4 kB / 0.4956 GB, free: 6.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1283, allocations: 227.5 kB / 0.4958 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.441/0.5693, allocations: 25.77 MB / 0.521 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006944/0.5762, allocations: 3.691 MB / 0.5246 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.5883, allocations: 9.632 MB / 0.534 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02031/0.6087, allocations: 10.91 MB / 0.5446 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009173/0.6178, allocations: 2.704 MB / 0.5473 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/0.6298, allocations: 2.725 MB / 0.5499 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009764/0.6396, allocations: 5.14 MB / 0.5549 GB, free: 136 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01989/0.6595, allocations: 9.57 MB / 0.5643 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03955/0.699, allocations: 29.13 MB / 0.5927 GB, free: 12.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.699, allocations: 0 / 0.5927 GB, free: 12.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.699, allocations: 0 / 0.5927 GB, free: 12.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001361/0.7004, allocations: 0 / 0.5927 GB, free: 12.55 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.1211/0.8215, allocations: 31.51 MB / 0.6235 GB, free: 12.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.8216, allocations: 12.03 kB / 0.6235 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006901/0.8285, allocations: 1.118 MB / 0.6246 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009953/0.8384, allocations: 1.546 MB / 0.6261 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06247/0.9009, allocations: 18.76 MB / 0.6444 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008802/0.9018, allocations: 0.6372 MB / 0.645 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004729/0.9065, allocations: 0.8151 MB / 0.6458 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04338/0.9499, allocations: 15.7 MB / 0.6612 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003692/0.9503, allocations: 21.5 kB / 0.6612 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003838/0.9541, allocations: 349.7 kB / 0.6615 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/0.9544, allocations: 212.8 kB / 0.6617 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04974/1.004, allocations: 17.61 MB / 0.6789 GB, free: 4.102 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.371/1.375, allocations: 57.46 MB / 0.735 GB, free: 150.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03338/1.408, allocations: 17.36 MB / 0.752 GB, free: 149.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0113/1.42, allocations: 7.15 MB / 0.759 GB, free: 147.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/1.42, allocations: 71.03 kB / 0.759 GB, free: 147.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.42, allocations: 76.95 kB / 0.7591 GB, free: 147.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 6.162e-06/1.42, allocations: 3.844 kB / 0.7591 GB, free: 147.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.0432/1.463, allocations: 22.05 MB / 0.7807 GB, free: 138.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.463, allocations: 101.8 kB / 0.7807 GB, free: 138.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02335/1.487, allocations: 15.36 MB / 0.7957 GB, free: 127 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001576/1.488, allocations: 109.7 kB / 0.7959 GB, free: 126.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004986/1.493, allocations: 6.209 MB / 0.8019 GB, free: 121.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002099/1.495, allocations: 1.659 MB / 0.8035 GB, free: 120.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004064/1.499, allocations: 2.141 MB / 0.8056 GB, free: 118.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/1.499, allocations: 305.1 kB / 0.8059 GB, free: 117.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01225/1.512, allocations: 7.648 MB / 0.8134 GB, free: 110.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01435/1.526, allocations: 8.839 MB / 0.822 GB, free: 101.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02587/1.552, allocations: 14.39 MB / 0.8361 GB, free: 86.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.364e-05/1.552, allocations: 8 kB / 0.8361 GB, free: 86.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05957/1.611, allocations: 25.69 MB / 0.8612 GB, free: 60.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/1.612, allocations: 19.94 kB / 0.8612 GB, free: 60.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/1.612, allocations: 24.12 kB / 0.8612 GB, free: 60.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04635/1.658, allocations: 26.41 MB / 0.887 GB, free: 33.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006519/1.664, allocations: 1.498 MB / 0.8885 GB, free: 32.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3602/2.025, allocations: 103.8 MB / 0.9898 GB, free: 153.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01753/2.042, allocations: 2.504 MB / 0.9923 GB, free: 153 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/2.045, allocations: 384.1 kB / 0.9926 GB, free: 152.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.009623/2.054, allocations: 4.56 MB / 0.9971 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003522/2.058, allocations: 1.232 MB / 0.9983 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03304/2.091, allocations: 17.56 MB / 1.015 GB, free: 142.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/2.091, allocations: 41.66 kB / 1.015 GB, free: 142.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.091, allocations: 4.969 kB / 1.015 GB, free: 142.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.579e-05/2.091, allocations: 24.73 kB / 1.016 GB, free: 142.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06578/2.157, allocations: 32.45 MB / 1.047 GB, free: 114.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/2.157, allocations: 7.844 kB / 1.047 GB, free: 114.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/2.158, allocations: 450.8 kB / 1.048 GB, free: 114.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02345/2.182, allocations: 15.81 MB / 1.063 GB, free: 98.47 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001221/2.183, allocations: 115.9 kB / 1.063 GB, free: 98.36 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06505/2.248, allocations: 25.2 MB / 1.088 GB, free: 73.22 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.248, allocations: 0 / 1.088 GB, free: 73.22 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0286/2.277, allocations: 16.82 MB / 1.104 GB, free: 56.59 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007546/2.284, allocations: 2.866 MB / 1.107 GB, free: 53.77 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003475/2.288, allocations: 72 kB / 1.107 GB, free: 53.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009853/2.298, allocations: 1.311 MB / 1.108 GB, free: 52.39 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000525/2.298, allocations: 235.7 kB / 1.109 GB, free: 52.16 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007071/2.299, allocations: 147.9 kB / 1.109 GB, free: 52.02 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01708/2.316, allocations: 10.6 MB / 1.119 GB, free: 41.45 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.7e-07/2.316, allocations: 4 kB / 1.119 GB, free: 41.45 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01371/2.33, allocations: 2.977 MB / 1.122 GB, free: 38.59 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03215/2.362, allocations: 17.5 MB / 1.139 GB, free: 21.04 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2966/2.658, allocations: 30.39 MB / 1.169 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/2.658, allocations: 0.6875 kB / 1.169 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.05288/2.711, allocations: 15.05 MB / 1.183 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0173/2.728, allocations: 3.157 MB / 1.187 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2551/2.984, allocations: 143.1 MB / 1.326 GB, free: 69.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/2.995, allocations: 8.559 MB / 1.335 GB, free: 60.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01066/3.005, allocations: 3.779 MB / 1.338 GB, free: 56.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00785/3.013, allocations: 4.998 MB / 1.343 GB, free: 51.98 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/3.013, allocations: 3.938 kB / 1.343 GB, free: 51.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.074/4.088, allocations: 335.5 MB / 1.671 GB, free: 167.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 56.38/60.47, allocations: 6.156 kB / 1.671 GB, free: 167.7 MB / 0.6075 GB " [Timeout remaining time 599] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 64.5979364567902] Failed to read output from testmodel.py, exit status != 0: 60.77149167400785 60.783591162 60.081754015 Calling exit ...