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.001426/0.001426, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001336/0.001336, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.368/1.368, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.479 MB / 318.7 MB, free: 13.55 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="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.002103/0.002103, allocations: 71.89 kB / 448.4 MB, free: 2.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1086, allocations: 54.62 MB / 0.4913 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006229/0.1149, allocations: 3.993 MB / 0.4952 GB, free: 7.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.118, allocations: 1.527 MB / 0.4967 GB, free: 5.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006129/0.1186, allocations: 11.94 kB / 0.4967 GB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.1197, allocations: 301 kB / 0.497 GB, free: 5.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000852/0.1205, allocations: 250.4 kB / 0.4972 GB, free: 5.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.1211, allocations: 219.6 kB / 0.4974 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2418/0.3629, allocations: 25.77 MB / 0.5226 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005784/0.3687, allocations: 3.7 MB / 0.5262 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01239/0.3811, allocations: 9.652 MB / 0.5356 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02104/0.4021, allocations: 10.93 MB / 0.5463 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009203/0.4113, allocations: 2.702 MB / 0.5489 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.4228, allocations: 2.721 MB / 0.5516 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008702/0.4315, allocations: 5.136 MB / 0.5566 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01875/0.4502, allocations: 7.892 MB / 0.5643 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03499/0.4852, allocations: 29.26 MB / 0.5929 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4852, allocations: 4 kB / 0.5929 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4852, allocations: 0 / 0.5929 GB, free: 13.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008257/0.4861, allocations: 0 / 0.5929 GB, free: 13.84 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.1135/0.5995, allocations: 31.51 MB / 0.6237 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5996, allocations: 8.031 kB / 0.6237 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002765/0.5999, allocations: 223.4 kB / 0.6239 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006118/0.606, allocations: 1.122 MB / 0.625 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008435/0.6144, allocations: 1.538 MB / 0.6265 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05761/0.672, allocations: 18.77 MB / 0.6448 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008238/0.6729, allocations: 0.6256 MB / 0.6454 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005206/0.6781, allocations: 0.8125 MB / 0.6462 GB, free: 7.398 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04346/0.7215, allocations: 15.72 MB / 0.6616 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003697/0.7219, allocations: 33.09 kB / 0.6616 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003688/0.7256, allocations: 344 kB / 0.6619 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/0.7258, allocations: 212 kB / 0.6621 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04395/0.7698, allocations: 17.62 MB / 0.6793 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5995/1.369, allocations: 54.1 MB / 0.7322 GB, free: 151.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03537/1.405, allocations: 17.33 MB / 0.7491 GB, free: 149.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01242/1.417, allocations: 7.128 MB / 0.756 GB, free: 147.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/1.417, allocations: 59.27 kB / 0.7561 GB, free: 147.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/1.417, allocations: 86.08 kB / 0.7562 GB, free: 147.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 7.304e-06/1.417, allocations: 0 / 0.7562 GB, free: 147.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04257/1.46, allocations: 22.05 MB / 0.7777 GB, free: 139.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/1.46, allocations: 95.61 kB / 0.7778 GB, free: 139.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03186/1.492, allocations: 15.36 MB / 0.7928 GB, free: 130.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00198/1.494, allocations: 113.7 kB / 0.7929 GB, free: 130.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006098/1.5, allocations: 6.204 MB / 0.799 GB, free: 125.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002573/1.502, allocations: 1.658 MB / 0.8006 GB, free: 124.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004724/1.507, allocations: 2.141 MB / 0.8027 GB, free: 122 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/1.507, allocations: 308.9 kB / 0.803 GB, free: 121.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01251/1.52, allocations: 7.648 MB / 0.8105 GB, free: 114.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01487/1.535, allocations: 8.841 MB / 0.8191 GB, free: 104.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02546/1.56, allocations: 14.39 MB / 0.8331 GB, free: 90.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.046e-05/1.56, allocations: 4 kB / 0.8331 GB, free: 90.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.056/1.616, allocations: 25.7 MB / 0.8582 GB, free: 64.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/1.616, allocations: 12 kB / 0.8582 GB, free: 64.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/1.616, allocations: 24 kB / 0.8583 GB, free: 64.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04536/1.662, allocations: 26.1 MB / 0.8838 GB, free: 38.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006641/1.668, allocations: 1.494 MB / 0.8852 GB, free: 36.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3662/2.034, allocations: 103.5 MB / 0.9863 GB, free: 154.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01807/2.052, allocations: 2.509 MB / 0.9888 GB, free: 154.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003097/2.056, allocations: 391 kB / 0.9891 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.009439/2.065, allocations: 4.56 MB / 0.9936 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003811/2.069, allocations: 1.231 MB / 0.9948 GB, free: 152.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03299/2.102, allocations: 17.56 MB / 1.012 GB, free: 145 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.839e-05/2.102, allocations: 53.62 kB / 1.012 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/2.102, allocations: 0 / 1.012 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/2.102, allocations: 19.92 kB / 1.012 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06416/2.166, allocations: 30.63 MB / 1.042 GB, free: 119.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/2.166, allocations: 4 kB / 1.042 GB, free: 119.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/2.168, allocations: 460.5 kB / 1.042 GB, free: 119.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02304/2.191, allocations: 15.8 MB / 1.058 GB, free: 103.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001519/2.192, allocations: 115.9 kB / 1.058 GB, free: 103.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06165/2.254, allocations: 25.19 MB / 1.083 GB, free: 78.23 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.254, allocations: 4 kB / 1.083 GB, free: 78.23 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02907/2.283, allocations: 16.82 MB / 1.099 GB, free: 61.72 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009958/2.293, allocations: 2.864 MB / 1.102 GB, free: 58.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004733/2.298, allocations: 72 kB / 1.102 GB, free: 58.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01205/2.31, allocations: 1.322 MB / 1.103 GB, free: 57.52 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007249/2.311, allocations: 231 kB / 1.103 GB, free: 57.29 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001066/2.312, allocations: 143.9 kB / 1.103 GB, free: 57.15 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01752/2.329, allocations: 10.61 MB / 1.114 GB, free: 46.58 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.9e-07/2.329, allocations: 0 / 1.114 GB, free: 46.58 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01605/2.345, allocations: 2.965 MB / 1.117 GB, free: 43.73 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.032/2.377, allocations: 17.51 MB / 1.134 GB, free: 26.18 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07225/2.449, allocations: 30.39 MB / 1.163 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/2.449, allocations: 0 / 1.163 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.2963/2.746, allocations: 15.05 MB / 1.178 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01989/2.766, allocations: 3.145 MB / 1.181 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2639/3.03, allocations: 143 MB / 1.321 GB, free: 75.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007323/3.037, allocations: 8.2 MB / 1.329 GB, free: 67.61 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009636/3.046, allocations: 3.779 MB / 1.333 GB, free: 63.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007797/3.054, allocations: 4.998 MB / 1.338 GB, free: 58.82 MB / 0.5919 GB Notification: Performance of SimCode: time 1.843e-06/3.054, allocations: 0 / 1.338 GB, free: 58.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9656/4.02, allocations: 335 MB / 1.665 GB, free: 174.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 54.02/58.04, allocations: 5.531 kB / 1.665 GB, free: 174.1 MB / 0.6075 GB " [Timeout remaining time 602] (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: 62.66789323894773] Failed to read output from testmodel.py, exit status != 0: 58.39406811003573 58.409761537 57.921221456 Calling exit ...