Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.001348/0.001348, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001488/0.001488, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.77 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.031/0.031, allocations: 5.51 MB / 317.9 MB, free: 13.49 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.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",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.002277/0.002277, allocations: 67.91 kB / 447.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1086, allocations: 54.61 MB / 0.4905 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.00639/0.115, allocations: 4.002 MB / 0.4944 GB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003363/0.1183, allocations: 1.535 MB / 0.4959 GB, free: 5.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.1188, allocations: 11.94 kB / 0.4959 GB, free: 5.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.1199, allocations: 289 kB / 0.4962 GB, free: 5.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008402/0.1207, allocations: 262.3 kB / 0.4965 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.1213, allocations: 219.6 kB / 0.4967 GB, free: 4.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2369/0.3581, allocations: 25.76 MB / 0.5218 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006937/0.365, allocations: 3.762 MB / 0.5255 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01377/0.3788, allocations: 9.755 MB / 0.535 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02225/0.4011, allocations: 12.61 MB / 0.5473 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008067/0.4091, allocations: 2.704 MB / 0.55 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.4199, allocations: 2.726 MB / 0.5526 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00899/0.4289, allocations: 5.133 MB / 0.5576 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0247/0.4536, allocations: 7.885 MB / 0.5653 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03999/0.4936, allocations: 29.26 MB / 0.5939 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4936, allocations: 0 / 0.5939 GB, free: 11.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4936, allocations: 0 / 0.5939 GB, free: 11.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007642/0.4944, allocations: 3.938 kB / 0.5939 GB, free: 11.96 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.1106/0.605, allocations: 31.51 MB / 0.6247 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.605, allocations: 12.03 kB / 0.6247 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005649/0.6107, allocations: 1.12 MB / 0.6258 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008826/0.6195, allocations: 1.542 MB / 0.6273 GB, free: 9.664 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06121/0.6807, allocations: 18.77 MB / 0.6456 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009461/0.6816, allocations: 0.6256 MB / 0.6463 GB, free: 6.547 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004941/0.6866, allocations: 0.8182 MB / 0.6471 GB, free: 5.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06229/0.7489, allocations: 15.71 MB / 0.6624 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003734/0.7492, allocations: 25.41 kB / 0.6624 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004117/0.7534, allocations: 348 kB / 0.6627 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002956/0.7537, allocations: 212 kB / 0.663 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0557/0.8094, allocations: 17.57 MB / 0.6801 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5342/1.344, allocations: 54.11 MB / 0.733 GB, free: 151.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03487/1.378, allocations: 17.33 MB / 0.7499 GB, free: 149.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01321/1.392, allocations: 7.133 MB / 0.7568 GB, free: 147.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/1.392, allocations: 64.97 kB / 0.7569 GB, free: 147.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.392, allocations: 79.05 kB / 0.757 GB, free: 147.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 7.153e-06/1.392, allocations: 0 / 0.757 GB, free: 147.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04756/1.44, allocations: 22.04 MB / 0.7785 GB, free: 139.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.44, allocations: 102 kB / 0.7786 GB, free: 139.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02386/1.463, allocations: 15.49 MB / 0.7937 GB, free: 129.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001536/1.465, allocations: 117.7 kB / 0.7938 GB, free: 129 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005485/1.47, allocations: 6.209 MB / 0.7999 GB, free: 123.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.473, allocations: 1.655 MB / 0.8015 GB, free: 122.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006903/1.48, allocations: 2.142 MB / 0.8036 GB, free: 120.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/1.48, allocations: 301.1 kB / 0.8039 GB, free: 120 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01465/1.494, allocations: 7.652 MB / 0.8114 GB, free: 112.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01683/1.511, allocations: 8.838 MB / 0.82 GB, free: 103.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02932/1.54, allocations: 14.39 MB / 0.8341 GB, free: 88.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.221e-05/1.54, allocations: 8 kB / 0.8341 GB, free: 88.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05983/1.6, allocations: 25.68 MB / 0.8591 GB, free: 62.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/1.6, allocations: 20.19 kB / 0.8592 GB, free: 62.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/1.6, allocations: 24 kB / 0.8592 GB, free: 62.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04626/1.647, allocations: 26.1 MB / 0.8847 GB, free: 36.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006662/1.653, allocations: 1.49 MB / 0.8861 GB, free: 34.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3732/2.026, allocations: 103.5 MB / 0.9872 GB, free: 154.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01843/2.045, allocations: 2.508 MB / 0.9897 GB, free: 154.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002855/2.048, allocations: 381.4 kB / 0.99 GB, free: 154.1 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.009335/2.057, allocations: 4.565 MB / 0.9945 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003621/2.061, allocations: 1.24 MB / 0.9957 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03282/2.094, allocations: 17.56 MB / 1.013 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/2.094, allocations: 44.75 kB / 1.013 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/2.094, allocations: 2.875 kB / 1.013 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.489e-05/2.094, allocations: 23.91 kB / 1.013 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06806/2.162, allocations: 30.63 MB / 1.043 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/2.162, allocations: 0 / 1.043 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/2.164, allocations: 450.9 kB / 1.043 GB, free: 117.9 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02527/2.189, allocations: 15.81 MB / 1.059 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001593/2.191, allocations: 119.9 kB / 1.059 GB, free: 102 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06413/2.255, allocations: 25.2 MB / 1.083 GB, free: 76.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/2.255, allocations: 0 / 1.083 GB, free: 76.84 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0317/2.287, allocations: 16.82 MB / 1.1 GB, free: 60.07 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008858/2.295, allocations: 2.865 MB / 1.103 GB, free: 57.26 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004605/2.3, allocations: 75.75 kB / 1.103 GB, free: 57.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01093/2.311, allocations: 1.311 MB / 1.104 GB, free: 55.88 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006413/2.312, allocations: 235 kB / 1.104 GB, free: 55.64 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001076/2.313, allocations: 143.9 kB / 1.104 GB, free: 55.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01743/2.33, allocations: 10.61 MB / 1.115 GB, free: 44.94 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.71e-07/2.33, allocations: 0 / 1.115 GB, free: 44.94 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01284/2.343, allocations: 2.969 MB / 1.118 GB, free: 42.08 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.03557/2.378, allocations: 17.51 MB / 1.135 GB, free: 24.53 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07366/2.452, allocations: 30.39 MB / 1.164 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/2.452, allocations: 0 / 1.164 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.2635/2.716, allocations: 15.05 MB / 1.179 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01877/2.734, allocations: 3.155 MB / 1.182 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.269/3.003, allocations: 143 MB / 1.322 GB, free: 74.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009291/3.013, allocations: 8.196 MB / 1.33 GB, free: 66.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009831/3.023, allocations: 3.779 MB / 1.334 GB, free: 62.28 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00718/3.03, allocations: 4.998 MB / 1.338 GB, free: 57.28 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/3.03, allocations: 0 / 1.338 GB, free: 57.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.016/4.046, allocations: 334.3 MB / 1.665 GB, free: 180.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.26/48.3, allocations: 8.859 kB / 1.665 GB, free: 180.3 MB / 0.6075 GB " [Timeout remaining time 611] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 55.827144381124526] Failed to read output from testmodel.py, exit status != 0: 48.623801002744585 48.643203909 48.145718905 Calling exit ...