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.001247/0.001247, allocations: 116.8 kB / 17.17 MB, free: 6 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.001324/0.001324, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.426/1.426, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.04341/0.04341, allocations: 5.481 MB / 315 MB, free: 1.566 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",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.003096/0.003096, allocations: 68.5 kB / 442.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1201, allocations: 54.59 MB / 497.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004959/0.1251, allocations: 4.416 MB / 0.4899 GB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.1279, allocations: 1.652 MB / 0.4916 GB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.1286, allocations: 11.94 kB / 0.4916 GB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008586/0.1294, allocations: 325.2 kB / 0.4919 GB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.13, allocations: 250.4 kB / 0.4921 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.1303, allocations: 219.6 kB / 0.4923 GB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02405/0.1544, allocations: 25.86 MB / 0.5176 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008479/0.1629, allocations: 5.694 MB / 0.5231 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.1774, allocations: 9.622 MB / 0.5325 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0206/0.198, allocations: 10.93 MB / 0.5432 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008042/0.206, allocations: 2.703 MB / 0.5459 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009048/0.2151, allocations: 2.719 MB / 0.5485 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009361/0.2244, allocations: 5.132 MB / 0.5535 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02159/0.246, allocations: 9.57 MB / 0.5629 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4932/0.7393, allocations: 29.12 MB / 0.5913 GB, free: 52.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.7393, allocations: 4.781 kB / 0.5913 GB, free: 52.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7393, allocations: 0 / 0.5913 GB, free: 52.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009294/0.7402, allocations: 0 / 0.5913 GB, free: 52.39 MB / 446.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.1087/0.8489, allocations: 31.54 MB / 0.6221 GB, free: 39.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.849, allocations: 13.06 kB / 0.6221 GB, free: 39.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002173/0.8492, allocations: 218.6 kB / 0.6223 GB, free: 39.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007139/0.8563, allocations: 1.124 MB / 0.6234 GB, free: 38.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.8669, allocations: 1.537 MB / 0.6249 GB, free: 38.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04983/0.9167, allocations: 18.88 MB / 0.6434 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007707/0.9175, allocations: 0.6295 MB / 0.644 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005574/0.923, allocations: 0.8136 MB / 0.6448 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03868/0.9617, allocations: 15.7 MB / 0.6601 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003826/0.9621, allocations: 22.44 kB / 0.6601 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004092/0.9662, allocations: 348 kB / 0.6605 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.9663, allocations: 212 kB / 0.6607 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04379/1.01, allocations: 17.61 MB / 0.6778 GB, free: 4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1318/1.142, allocations: 57.35 MB / 0.7339 GB, free: 10.75 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04159/1.183, allocations: 20.98 MB / 0.7543 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01554/1.199, allocations: 7.155 MB / 0.7613 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003775/1.199, allocations: 74.2 kB / 0.7614 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.889e-05/1.199, allocations: 74.08 kB / 0.7615 GB, free: 13.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 7.604e-06/1.199, allocations: 0 / 0.7615 GB, free: 13.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.05376/1.253, allocations: 22.05 MB / 0.783 GB, free: 7.766 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/1.253, allocations: 102.9 kB / 0.7831 GB, free: 7.652 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03291/1.286, allocations: 15.37 MB / 0.7981 GB, free: 8.328 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0019/1.288, allocations: 109.7 kB / 0.7982 GB, free: 8.215 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00905/1.297, allocations: 6.204 MB / 0.8043 GB, free: 2.031 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003641/1.301, allocations: 1.651 MB / 0.8059 GB, free: 412 kB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2538/1.555, allocations: 2.14 MB / 0.808 GB, free: 200.8 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/1.555, allocations: 304 kB / 0.8083 GB, free: 200.5 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01634/1.571, allocations: 7.654 MB / 0.8157 GB, free: 200.4 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01717/1.588, allocations: 8.844 MB / 0.8244 GB, free: 197 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02788/1.616, allocations: 14.38 MB / 0.8384 GB, free: 191.3 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.957e-05/1.616, allocations: 7.562 kB / 0.8384 GB, free: 191.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06068/1.677, allocations: 25.68 MB / 0.8635 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/1.677, allocations: 19.94 kB / 0.8635 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/1.677, allocations: 27.98 kB / 0.8636 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04588/1.723, allocations: 26.1 MB / 0.889 GB, free: 145.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007008/1.73, allocations: 1.494 MB / 0.8905 GB, free: 144.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1164/1.846, allocations: 108.7 MB / 0.9967 GB, free: 29.03 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0196/1.866, allocations: 2.506 MB / 0.9991 GB, free: 27.11 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003004/1.869, allocations: 383.7 kB / 0.9995 GB, free: 26.73 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.009458/1.878, allocations: 4.564 MB / 1.004 GB, free: 22.17 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004356/1.883, allocations: 1.233 MB / 1.005 GB, free: 21.08 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03616/1.919, allocations: 17.56 MB / 1.022 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/1.919, allocations: 44 kB / 1.022 GB, free: 3.434 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.919, allocations: 3.938 kB / 1.022 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.919, allocations: 27.91 kB / 1.022 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3615/2.28, allocations: 32.29 MB / 1.054 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/2.28, allocations: 0 / 1.054 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/2.282, allocations: 451.5 kB / 1.054 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0249/2.307, allocations: 15.81 MB / 1.07 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001664/2.309, allocations: 118.2 kB / 1.07 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06224/2.371, allocations: 25.2 MB / 1.094 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.371, allocations: 3.812 kB / 1.094 GB, free: 151.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03186/2.403, allocations: 16.82 MB / 1.111 GB, free: 134.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008992/2.412, allocations: 2.816 MB / 1.114 GB, free: 132.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004747/2.416, allocations: 83.73 kB / 1.114 GB, free: 132.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01093/2.427, allocations: 1.315 MB / 1.115 GB, free: 131.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005364/2.428, allocations: 215.2 kB / 1.115 GB, free: 131 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008298/2.429, allocations: 147.9 kB / 1.115 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01603/2.445, allocations: 10.6 MB / 1.126 GB, free: 120.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.7e-07/2.445, allocations: 0 / 1.126 GB, free: 120.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01191/2.457, allocations: 2.978 MB / 1.129 GB, free: 117.4 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.0289/2.486, allocations: 17.51 MB / 1.146 GB, free: 99.91 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.06613/2.552, allocations: 30.38 MB / 1.175 GB, free: 68.85 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/2.552, allocations: 0 / 1.175 GB, free: 68.85 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.04657/2.598, allocations: 15.05 MB / 1.19 GB, free: 53.84 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01737/2.616, allocations: 3.148 MB / 1.193 GB, free: 50.74 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5532/3.169, allocations: 143 MB / 1.333 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/3.181, allocations: 8.559 MB / 1.341 GB, free: 139.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01179/3.192, allocations: 3.777 MB / 1.345 GB, free: 136 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009247/3.202, allocations: 4.99 MB / 1.35 GB, free: 131 MB / 0.5919 GB Notification: Performance of SimCode: time 1.883e-06/3.202, allocations: 0 / 1.35 GB, free: 131 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9442/4.146, allocations: 328.1 MB / 1.67 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.27/55.42, allocations: 5.297 kB / 1.67 GB, free: 125.4 MB / 0.5919 GB " [Timeout remaining time 604] (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 os._exit(0), Time elapsed: 60.989800446957815] Failed to read output from testmodel.py, exit status != 0: 55.73534218996065 55.747715823 55.005038264 Calling exit ...