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.000747/0.000747, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008022/0.0008022, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8969/0.8969, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.0166/0.0166, allocations: 4.221 MB / 263.4 MB, free: 9.133 MB / 250.7 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.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 1.082e-06/1.082e-06, allocations: 0 / 393.3 MB, free: 4.488 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.829e-05, allocations: 5.375 kB / 393.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.003735/0.003753, allocations: 4.012 MB / 397.3 MB, free: 456 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.005764, allocations: 1.542 MB / 398.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.006267, allocations: 11.94 kB / 398.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007629/0.00703, allocations: 285.4 kB / 399.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005849/0.007615, allocations: 266.1 kB / 399.4 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.008021, allocations: 223.6 kB / 399.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01432/0.02235, allocations: 26.41 MB / 426 MB, free: 3.629 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005388/0.02773, allocations: 3.761 MB / 429.8 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01863/0.04637, allocations: 13.98 MB / 443.8 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1762/0.2226, allocations: 11.63 MB / 455.4 MB, free: 63.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007041/0.2296, allocations: 2.705 MB / 458.1 MB, free: 63.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008125/0.2378, allocations: 2.722 MB / 460.8 MB, free: 63.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007655/0.2454, allocations: 5.187 MB / 466 MB, free: 60.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0147/0.2601, allocations: 6.893 MB / 472.9 MB, free: 58.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02667/0.2868, allocations: 30.71 MB / 0.4918 GB, free: 45.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.2868, allocations: 0 / 0.4918 GB, free: 45.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2868, allocations: 0 / 0.4918 GB, free: 45.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001054/0.2879, allocations: 2.844 kB / 0.4918 GB, free: 45.58 MB / 410.7 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.07071/0.3586, allocations: 31.37 MB / 0.5224 GB, free: 26.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3586, allocations: 17.5 kB / 0.5224 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007144/0.3658, allocations: 1.12 MB / 0.5235 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008932/0.3747, allocations: 1.546 MB / 0.525 GB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0371/0.4118, allocations: 18.76 MB / 0.5434 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.4123, allocations: 0.6295 MB / 0.544 GB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004563/0.4169, allocations: 0.8125 MB / 0.5448 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03384/0.4507, allocations: 15.72 MB / 0.5601 GB, free: 3.957 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.4509, allocations: 22.44 kB / 0.5602 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002933/0.4538, allocations: 344 kB / 0.5605 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.454, allocations: 212 kB / 0.5607 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03346/0.4874, allocations: 17.58 MB / 0.5778 GB, free: 1.848 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.28/0.7674, allocations: 54.05 MB / 0.6306 GB, free: 102.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02316/0.7906, allocations: 17.33 MB / 0.6476 GB, free: 98.31 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009258/0.7999, allocations: 7.14 MB / 0.6545 GB, free: 96.13 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.8, allocations: 63.72 kB / 0.6546 GB, free: 96.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.8001, allocations: 79.77 kB / 0.6547 GB, free: 96.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=448): time 6.613e-06/0.8001, allocations: 0 / 0.6547 GB, free: 96.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=448): time 0.03203/0.8321, allocations: 22.04 MB / 0.6762 GB, free: 89.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.8322, allocations: 103.2 kB / 0.6763 GB, free: 89.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02513/0.8573, allocations: 15.49 MB / 0.6914 GB, free: 80.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001647/0.859, allocations: 113.7 kB / 0.6915 GB, free: 79.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004952/0.8639, allocations: 6.186 MB / 0.6976 GB, free: 74.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002363/0.8663, allocations: 1.634 MB / 0.6992 GB, free: 73.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006884/0.8732, allocations: 2.117 MB / 0.7012 GB, free: 70.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.8732, allocations: 305.1 kB / 0.7015 GB, free: 70.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009772/0.883, allocations: 7.644 MB / 0.709 GB, free: 63.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/0.8934, allocations: 8.837 MB / 0.7176 GB, free: 53.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/0.9126, allocations: 14.39 MB / 0.7317 GB, free: 39.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-05/0.9126, allocations: 8.75 kB / 0.7317 GB, free: 39.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.04296/0.9556, allocations: 25.69 MB / 0.7568 GB, free: 13.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.9556, allocations: 16 kB / 0.7568 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.9556, allocations: 27.94 kB / 0.7568 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02978/0.9854, allocations: 26.1 MB / 0.7823 GB, free: 2.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005033/0.9905, allocations: 1.494 MB / 0.7837 GB, free: 1.379 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2373/1.228, allocations: 103.4 MB / 0.8848 GB, free: 85.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0131/1.241, allocations: 2.514 MB / 0.8872 GB, free: 85.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/1.243, allocations: 384.9 kB / 0.8876 GB, free: 85.16 MB / 0.4948 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.007885/1.251, allocations: 4.558 MB / 0.892 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002709/1.253, allocations: 1.231 MB / 0.8932 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/1.273, allocations: 17.57 MB / 0.9104 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/1.273, allocations: 41.31 kB / 0.9104 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.273, allocations: 3.75 kB / 0.9104 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/1.273, allocations: 19.92 kB / 0.9105 GB, free: 74.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0421/1.315, allocations: 30.63 MB / 0.9404 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/1.315, allocations: 0 / 0.9404 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/1.316, allocations: 451.4 kB / 0.9408 GB, free: 44.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01459/1.331, allocations: 15.81 MB / 0.9563 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/1.332, allocations: 111.9 kB / 0.9564 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03628/1.368, allocations: 25.19 MB / 0.981 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.368, allocations: 3.938 kB / 0.981 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2025/1.571, allocations: 16.82 MB / 0.9974 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009012/1.58, allocations: 2.866 MB / 1 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005204/1.585, allocations: 72.34 kB / 1 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009701/1.595, allocations: 1.315 MB / 1.002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008998/1.596, allocations: 234.7 kB / 1.002 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001445/1.597, allocations: 146.8 kB / 1.002 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01818/1.615, allocations: 10.61 MB / 1.012 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.615, allocations: 2.469 kB / 1.012 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01479/1.63, allocations: 2.973 MB / 1.015 GB, free: 132.7 MB / 0.4948 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.02644/1.656, allocations: 17.5 MB / 1.032 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04354/1.7, allocations: 30.37 MB / 1.062 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.7, allocations: 0 / 1.062 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02795/1.728, allocations: 15.05 MB / 1.077 GB, free: 90.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01847/1.746, allocations: 3.139 MB / 1.08 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7697/2.516, allocations: 143.8 MB / 1.22 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009193/2.525, allocations: 8.201 MB / 1.228 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009005/2.534, allocations: 3.788 MB / 1.232 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007885/2.542, allocations: 4.999 MB / 1.237 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.784e-06/2.542, allocations: 0 / 1.237 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6696/3.212, allocations: 333.6 MB / 1.563 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.94/29.15, allocations: 7.984 kB / 1.563 GB, free: 109.1 MB / 0.5105 GB " [Timeout remaining time 631] (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: 33.47257215436548] Failed to read output from testmodel.py, exit status != 0: 29.37657428905368 29.385631629 29.096807787 Calling exit ...