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.001235/0.001235, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001415/0.001415, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.0284/0.0284, allocations: 5.488 MB / 318.7 MB, free: 13.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",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.002151/0.002151, allocations: 70.23 kB / 446.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1146, allocations: 54.62 MB / 0.4897 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.006338/0.1209, allocations: 4.003 MB / 0.4936 GB, free: 8.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.1245, allocations: 1.523 MB / 0.4951 GB, free: 7.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000707/0.1252, allocations: 15.94 kB / 0.4951 GB, free: 7.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.1264, allocations: 281.1 kB / 0.4954 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1275, allocations: 258.3 kB / 0.4957 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.1282, allocations: 215.6 kB / 0.4959 GB, free: 6.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4128/0.541, allocations: 25.76 MB / 0.521 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006037/0.547, allocations: 3.694 MB / 0.5246 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01235/0.5593, allocations: 9.654 MB / 0.5341 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02101/0.5804, allocations: 10.91 MB / 0.5447 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009427/0.5898, allocations: 2.706 MB / 0.5474 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.6007, allocations: 2.723 MB / 0.55 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009106/0.6098, allocations: 5.131 MB / 0.555 GB, free: 252 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01857/0.6283, allocations: 7.89 MB / 0.5627 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03544/0.6638, allocations: 29.26 MB / 0.5913 GB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.6638, allocations: 0 / 0.5913 GB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6638, allocations: 2.625 kB / 0.5913 GB, free: 14.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007813/0.6646, allocations: 0 / 0.5913 GB, free: 14.64 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.1155/0.7801, allocations: 31.52 MB / 0.6221 GB, free: 15.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.7802, allocations: 10.47 kB / 0.6221 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002925/0.7805, allocations: 220.8 kB / 0.6223 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006491/0.7869, allocations: 1.118 MB / 0.6234 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009022/0.796, allocations: 1.542 MB / 0.6249 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05845/0.8544, allocations: 18.77 MB / 0.6432 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008488/0.8553, allocations: 0.6295 MB / 0.6438 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005033/0.8603, allocations: 0.8125 MB / 0.6446 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04305/0.9033, allocations: 15.71 MB / 0.66 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/0.9036, allocations: 32.02 kB / 0.66 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003525/0.9071, allocations: 344 kB / 0.6603 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.9074, allocations: 212 kB / 0.6605 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04341/0.9508, allocations: 17.61 MB / 0.6777 GB, free: 5.945 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3374/1.288, allocations: 54.13 MB / 0.7306 GB, free: 151.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03184/1.32, allocations: 17.33 MB / 0.7475 GB, free: 150.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01191/1.332, allocations: 7.13 MB / 0.7545 GB, free: 148.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/1.332, allocations: 64.14 kB / 0.7545 GB, free: 148.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/1.332, allocations: 76.67 kB / 0.7546 GB, free: 148 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 7.565e-06/1.332, allocations: 1.031 kB / 0.7546 GB, free: 148 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04476/1.377, allocations: 22.05 MB / 0.7762 GB, free: 140.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.377, allocations: 95.17 kB / 0.7762 GB, free: 140.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02319/1.4, allocations: 15.36 MB / 0.7912 GB, free: 131.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001593/1.402, allocations: 113.7 kB / 0.7914 GB, free: 131.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005117/1.407, allocations: 6.213 MB / 0.7974 GB, free: 126.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002392/1.409, allocations: 1.652 MB / 0.799 GB, free: 124.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004583/1.414, allocations: 2.141 MB / 0.8011 GB, free: 122.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/1.414, allocations: 301.1 kB / 0.8014 GB, free: 122.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01245/1.426, allocations: 7.653 MB / 0.8089 GB, free: 114.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01446/1.441, allocations: 8.838 MB / 0.8175 GB, free: 105.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02661/1.468, allocations: 14.39 MB / 0.8316 GB, free: 90.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.994e-05/1.468, allocations: 8 kB / 0.8316 GB, free: 90.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06306/1.531, allocations: 25.69 MB / 0.8567 GB, free: 65.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/1.531, allocations: 20.47 kB / 0.8567 GB, free: 65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.21e-05/1.531, allocations: 24 kB / 0.8567 GB, free: 64.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04625/1.577, allocations: 26.41 MB / 0.8825 GB, free: 38.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006637/1.584, allocations: 1.494 MB / 0.884 GB, free: 36.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3801/1.964, allocations: 103.5 MB / 0.9851 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01681/1.981, allocations: 2.504 MB / 0.9875 GB, free: 154 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002642/1.983, allocations: 385.8 kB / 0.9879 GB, free: 154 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.008928/1.992, allocations: 4.564 MB / 0.9923 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00329/1.995, allocations: 1.232 MB / 0.9935 GB, free: 152.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02973/2.025, allocations: 17.56 MB / 1.011 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/2.025, allocations: 45.12 kB / 1.011 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.025, allocations: 0 / 1.011 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-05/2.025, allocations: 19.92 kB / 1.011 GB, free: 144.8 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05782/2.083, allocations: 30.63 MB / 1.041 GB, free: 119.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/2.083, allocations: 4 kB / 1.041 GB, free: 119.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/2.085, allocations: 457 kB / 1.041 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0219/2.106, allocations: 15.81 MB / 1.057 GB, free: 103.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0011/2.108, allocations: 115.9 kB / 1.057 GB, free: 103.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06509/2.173, allocations: 25.2 MB / 1.081 GB, free: 78.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.173, allocations: 0 / 1.081 GB, free: 78.27 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03042/2.203, allocations: 16.82 MB / 1.098 GB, free: 61.8 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008125/2.211, allocations: 2.863 MB / 1.1 GB, free: 58.99 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004395/2.216, allocations: 75.98 kB / 1.101 GB, free: 58.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/2.227, allocations: 1.307 MB / 1.102 GB, free: 57.61 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007997/2.228, allocations: 235 kB / 1.102 GB, free: 57.38 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001274/2.229, allocations: 139.9 kB / 1.102 GB, free: 57.24 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01946/2.248, allocations: 10.61 MB / 1.113 GB, free: 46.67 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.2e-07/2.248, allocations: 0 / 1.113 GB, free: 46.67 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01298/2.261, allocations: 2.971 MB / 1.115 GB, free: 43.81 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.02745/2.289, allocations: 17.52 MB / 1.133 GB, free: 26.26 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07143/2.36, allocations: 30.38 MB / 1.162 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/2.36, allocations: 0 / 1.162 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.2749/2.635, allocations: 15.05 MB / 1.177 GB, free: 189 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01478/2.65, allocations: 3.152 MB / 1.18 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2508/2.901, allocations: 143 MB / 1.32 GB, free: 76.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007318/2.908, allocations: 8.2 MB / 1.328 GB, free: 68.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009722/2.918, allocations: 3.779 MB / 1.331 GB, free: 64.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007945/2.926, allocations: 4.998 MB / 1.336 GB, free: 59.36 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/2.926, allocations: 0 / 1.336 GB, free: 59.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9837/3.909, allocations: 335.1 MB / 1.663 GB, free: 173.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 53.84/57.75, allocations: 7.031 kB / 1.663 GB, free: 173.7 MB / 0.6075 GB " [Timeout remaining time 602] (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 os._exit(0), Time elapsed: 61.306134451995604] Failed to read output from testmodel.py, exit status != 0: 58.08693355100695 58.099167882 57.431615216 Calling exit ...