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.001624/0.001624, 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.001968/0.001968, allocations: 216.6 kB / 22.25 MB, free: 5.078 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.012 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.03064/0.03064, allocations: 5.482 MB / 317.9 MB, free: 13.71 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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.002208/0.002208, allocations: 71.89 kB / 447.8 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1048, allocations: 54.62 MB / 0.4906 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006087/0.1109, allocations: 4.449 MB / 0.495 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.114, allocations: 1.648 MB / 0.4966 GB, free: 5.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.1145, allocations: 11.94 kB / 0.4966 GB, free: 5.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000991/0.1155, allocations: 324.9 kB / 0.4969 GB, free: 5.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007157/0.1162, allocations: 258.4 kB / 0.4971 GB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.1167, allocations: 223.6 kB / 0.4973 GB, free: 4.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2395/0.3562, allocations: 25.78 MB / 0.5225 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006266/0.3624, allocations: 3.696 MB / 0.5261 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.3759, allocations: 9.637 MB / 0.5355 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02005/0.3959, allocations: 10.92 MB / 0.5462 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00694/0.4029, allocations: 2.707 MB / 0.5488 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008993/0.4119, allocations: 2.719 MB / 0.5515 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007442/0.4193, allocations: 5.141 MB / 0.5565 GB, free: 304 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02205/0.4414, allocations: 9.568 MB / 0.5659 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03995/0.4813, allocations: 29.12 MB / 0.5943 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.4813, allocations: 0 / 0.5943 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4813, allocations: 0 / 0.5943 GB, free: 11.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006926/0.482, allocations: 4 kB / 0.5943 GB, free: 11.68 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.112/0.5941, allocations: 31.51 MB / 0.6251 GB, free: 12.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.5941, allocations: 12.03 kB / 0.6251 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006078/0.6002, allocations: 1.122 MB / 0.6262 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008581/0.6088, allocations: 1.542 MB / 0.6277 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05993/0.6687, allocations: 18.77 MB / 0.646 GB, free: 6.891 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008223/0.6695, allocations: 0.6282 MB / 0.6466 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004875/0.6744, allocations: 0.8164 MB / 0.6474 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04447/0.7189, allocations: 15.69 MB / 0.6628 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003072/0.7192, allocations: 21.31 kB / 0.6628 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003179/0.7224, allocations: 352 kB / 0.6631 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.7226, allocations: 213.6 kB / 0.6633 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04532/0.7679, allocations: 17.61 MB / 0.6805 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6031/1.371, allocations: 57.44 MB / 0.7366 GB, free: 150.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03441/1.405, allocations: 17.36 MB / 0.7536 GB, free: 149.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01302/1.418, allocations: 7.142 MB / 0.7605 GB, free: 147.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/1.419, allocations: 71.92 kB / 0.7606 GB, free: 147.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/1.419, allocations: 76.92 kB / 0.7607 GB, free: 147 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 5.901e-06/1.419, allocations: 2.656 kB / 0.7607 GB, free: 147 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04304/1.462, allocations: 22.05 MB / 0.7822 GB, free: 138 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.462, allocations: 100.9 kB / 0.7823 GB, free: 138 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02891/1.491, allocations: 15.36 MB / 0.7973 GB, free: 126.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0015/1.492, allocations: 117.4 kB / 0.7974 GB, free: 126.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006184/1.498, allocations: 6.215 MB / 0.8035 GB, free: 121.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002609/1.501, allocations: 1.651 MB / 0.8051 GB, free: 119.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009407/1.51, allocations: 2.141 MB / 0.8072 GB, free: 117.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.407e-05/1.511, allocations: 301.1 kB / 0.8075 GB, free: 117.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01481/1.525, allocations: 7.652 MB / 0.815 GB, free: 109.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01538/1.541, allocations: 8.841 MB / 0.8236 GB, free: 100.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02847/1.569, allocations: 14.39 MB / 0.8376 GB, free: 85.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/1.569, allocations: 8 kB / 0.8376 GB, free: 85.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06335/1.633, allocations: 25.69 MB / 0.8627 GB, free: 59.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/1.633, allocations: 18.5 kB / 0.8628 GB, free: 59.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/1.633, allocations: 24 kB / 0.8628 GB, free: 59.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04612/1.679, allocations: 26.1 MB / 0.8883 GB, free: 33.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006433/1.685, allocations: 1.498 MB / 0.8897 GB, free: 32.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.375/2.06, allocations: 103.8 MB / 0.9911 GB, free: 152.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/2.078, allocations: 2.51 MB / 0.9936 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002748/2.08, allocations: 375.4 kB / 0.9939 GB, free: 152.3 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.01012/2.09, allocations: 4.557 MB / 0.9984 GB, free: 150.5 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003743/2.094, allocations: 1.239 MB / 0.9996 GB, free: 150.5 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03895/2.133, allocations: 17.56 MB / 1.017 GB, free: 142.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/2.133, allocations: 41.34 kB / 1.017 GB, free: 142.2 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/2.133, allocations: 4.438 kB / 1.017 GB, free: 142.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.244e-05/2.133, allocations: 23.91 kB / 1.017 GB, free: 142.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07719/2.21, allocations: 32.46 MB / 1.048 GB, free: 113.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/2.211, allocations: 0 / 1.048 GB, free: 113.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/2.212, allocations: 451.1 kB / 1.049 GB, free: 113.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02459/2.237, allocations: 15.8 MB / 1.064 GB, free: 97.66 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001384/2.238, allocations: 127.6 kB / 1.064 GB, free: 97.54 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07218/2.31, allocations: 25.19 MB / 1.089 GB, free: 72.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.31, allocations: 0 / 1.089 GB, free: 72.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03591/2.346, allocations: 16.82 MB / 1.105 GB, free: 55.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0108/2.357, allocations: 2.855 MB / 1.108 GB, free: 52.79 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005042/2.362, allocations: 72 kB / 1.108 GB, free: 52.72 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01174/2.374, allocations: 1.314 MB / 1.11 GB, free: 51.41 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000878/2.375, allocations: 237 kB / 1.11 GB, free: 51.18 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001553/2.376, allocations: 152.5 kB / 1.11 GB, free: 51.03 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02156/2.398, allocations: 10.61 MB / 1.12 GB, free: 40.46 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.6e-07/2.398, allocations: 0 / 1.12 GB, free: 40.46 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01299/2.411, allocations: 2.967 MB / 1.123 GB, free: 37.61 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.03801/2.449, allocations: 17.5 MB / 1.14 GB, free: 20.05 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.3313/2.78, allocations: 30.39 MB / 1.17 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/2.78, allocations: 2.344 kB / 1.17 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.05552/2.836, allocations: 15.05 MB / 1.185 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02257/2.858, allocations: 3.144 MB / 1.188 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3082/3.166, allocations: 143.1 MB / 1.328 GB, free: 69.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/3.181, allocations: 8.555 MB / 1.336 GB, free: 60.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01097/3.192, allocations: 3.783 MB / 1.34 GB, free: 57.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00803/3.2, allocations: 4.998 MB / 1.344 GB, free: 52.08 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/3.2, allocations: 0 / 1.344 GB, free: 52.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.066/4.266, allocations: 335.5 MB / 1.672 GB, free: 167.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 56.56/60.83, allocations: 8.5 kB / 1.672 GB, free: 167.7 MB / 0.6075 GB " [Timeout remaining time 599] (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: 70.07103087799624] Failed to read output from testmodel.py, exit status != 0: 61.136655126931146 61.153716555 60.668752846 Calling exit ...