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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 110.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02991/0.02991, allocations: 5.465 MB / 308.2 MB, free: 4.426 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 71.88 kB / 432.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1036, allocations: 53.4 MB / 485.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006041/0.1097, allocations: 4.405 MB / 489.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.1126, allocations: 1.589 MB / 491.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.113, allocations: 11.94 kB / 491.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008661/0.1138, allocations: 320.9 kB / 491.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005826/0.1144, allocations: 250.3 kB / 492 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.1149, allocations: 215.6 kB / 492.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02521/0.1401, allocations: 25.63 MB / 0.5057 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009669/0.1497, allocations: 5.678 MB / 0.5113 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4032/0.553, allocations: 9.346 MB / 0.5204 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01684/0.5698, allocations: 10.88 MB / 0.531 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008894/0.5787, allocations: 2.709 MB / 0.5337 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.5904, allocations: 2.708 MB / 0.5363 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008416/0.5988, allocations: 5.12 MB / 0.5413 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01811/0.6169, allocations: 9.538 MB / 0.5506 GB, free: 2.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03564/0.6525, allocations: 29.01 MB / 0.579 GB, free: 11.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6525, allocations: 0 / 0.579 GB, free: 11.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6525, allocations: 3.375 kB / 0.579 GB, free: 11.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008151/0.6533, allocations: 0 / 0.579 GB, free: 11.56 MB / 414.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.1109/0.7643, allocations: 31.83 MB / 0.6101 GB, free: 11.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.7643, allocations: 12.03 kB / 0.6101 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006045/0.7704, allocations: 1.12 MB / 0.6112 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008513/0.7789, allocations: 1.523 MB / 0.6127 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05951/0.8384, allocations: 19.06 MB / 0.6313 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007578/0.8392, allocations: 0.6256 MB / 0.6319 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004574/0.8437, allocations: 0.8164 MB / 0.6327 GB, free: 4.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04364/0.8874, allocations: 15.67 MB / 0.648 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003039/0.8877, allocations: 29.16 kB / 0.648 GB, free: 4.613 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003876/0.8916, allocations: 348 kB / 0.6483 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002284/0.8918, allocations: 212 kB / 0.6485 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.047/0.9388, allocations: 17.59 MB / 0.6657 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3521/1.291, allocations: 57.32 MB / 0.7217 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03263/1.324, allocations: 20.95 MB / 0.7422 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01088/1.334, allocations: 7.149 MB / 0.7492 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/1.335, allocations: 74.25 kB / 0.7492 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.335, allocations: 77.11 kB / 0.7493 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=448): time 7.083e-06/1.335, allocations: 3.906 kB / 0.7493 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=448): time 0.1002/1.435, allocations: 36.27 MB / 0.7847 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/1.435, allocations: 98.92 kB / 0.7848 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02638/1.461, allocations: 15.19 MB / 0.7997 GB, free: 98.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001627/1.463, allocations: 113.7 kB / 0.7998 GB, free: 98.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005907/1.469, allocations: 6.203 MB / 0.8058 GB, free: 93.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002347/1.471, allocations: 1.656 MB / 0.8074 GB, free: 92.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00596/1.477, allocations: 2.106 MB / 0.8095 GB, free: 90.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/1.477, allocations: 305.1 kB / 0.8098 GB, free: 89.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01299/1.49, allocations: 7.64 MB / 0.8172 GB, free: 82.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01521/1.505, allocations: 8.842 MB / 0.8259 GB, free: 73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0277/1.533, allocations: 14.4 MB / 0.8399 GB, free: 58.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.903e-05/1.533, allocations: 8 kB / 0.84 GB, free: 58.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1225/1.656, allocations: 39.89 MB / 0.8789 GB, free: 18.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/1.656, allocations: 16.97 kB / 0.8789 GB, free: 18.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/1.656, allocations: 24 kB / 0.8789 GB, free: 18.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04821/1.704, allocations: 25.71 MB / 0.9041 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007657/1.712, allocations: 1.498 MB / 0.9055 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5958/2.307, allocations: 202.8 MB / 1.104 GB, free: 26.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01995/2.327, allocations: 2.594 MB / 1.106 GB, free: 24.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002861/2.33, allocations: 371.7 kB / 1.106 GB, free: 24.54 MB / 0.5607 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.01085/2.341, allocations: 4.529 MB / 1.111 GB, free: 20.01 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004368/2.345, allocations: 1.224 MB / 1.112 GB, free: 18.94 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09441/2.44, allocations: 31.71 MB / 1.143 GB, free: 3.195 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/2.44, allocations: 44 kB / 1.143 GB, free: 3.152 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/2.44, allocations: 0 / 1.143 GB, free: 3.152 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001294/2.44, allocations: 23.86 kB / 1.143 GB, free: 3.129 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3578/2.798, allocations: 46.39 MB / 1.188 GB, free: 164 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/2.798, allocations: 4 kB / 1.188 GB, free: 164 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/2.8, allocations: 448.9 kB / 1.189 GB, free: 164 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02315/2.823, allocations: 15.47 MB / 1.204 GB, free: 160.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001418/2.824, allocations: 109.7 kB / 1.204 GB, free: 160 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2709/3.095, allocations: 115 MB / 1.316 GB, free: 49.01 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/3.095, allocations: 0 / 1.316 GB, free: 49.01 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08822/3.183, allocations: 30.86 MB / 1.346 GB, free: 18.58 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0118/3.195, allocations: 2.71 MB / 1.349 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005484/3.201, allocations: 85.98 kB / 1.349 GB, free: 15.83 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01271/3.213, allocations: 1.396 MB / 1.351 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/3.214, allocations: 280.1 kB / 1.351 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001309/3.216, allocations: 143.9 kB / 1.351 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02018/3.236, allocations: 10.49 MB / 1.361 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.31e-07/3.236, allocations: 0 / 1.361 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.2509/3.487, allocations: 3.727 MB / 1.365 GB, free: 162.9 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.094/3.581, allocations: 31.54 MB / 1.396 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07673/3.658, allocations: 32.66 MB / 1.428 GB, free: 150.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/3.658, allocations: 0 / 1.428 GB, free: 150.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.05362/3.711, allocations: 17.11 MB / 1.444 GB, free: 136.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02128/3.733, allocations: 3.122 MB / 1.447 GB, free: 133.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6868/4.419, allocations: 171.2 MB / 1.615 GB, free: 159.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/4.431, allocations: 8.685 MB / 1.623 GB, free: 158.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009935/4.441, allocations: 3.777 MB / 1.627 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007862/4.449, allocations: 4.998 MB / 1.632 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/4.449, allocations: 0 / 1.632 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.154/5.603, allocations: 398.7 MB / 2.021 GB, free: 109.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.48/63.09, allocations: 9.75 kB / 2.021 GB, free: 109.7 MB / 0.5919 GB " [Timeout remaining time 597] (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: 71.7349416539073] Failed to read output from testmodel.py, exit status != 0: 63.37626661732793 63.399428458 62.742550617 Calling exit ...