Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.0008602/0.0008602, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0009166/0.0009166, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8994/0.8994, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.01743/0.01743, allocations: 4.22 MB / 263.4 MB, free: 9.145 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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 391.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.296e-05, allocations: 6.281 kB / 391.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003413/0.003436, allocations: 3.147 MB / 394.8 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.00506, allocations: 1.203 MB / 396 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.005254, allocations: 7.938 kB / 396.1 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.005732, allocations: 210.7 kB / 396.3 MB, free: 304 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.006039, allocations: 166.7 kB / 396.4 MB, free: 136 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.006221, allocations: 123.8 kB / 396.5 MB, free: 12 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004602/0.006682, allocations: 0.5835 MB / 397.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.006867, allocations: 80.62 kB / 397.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.007136, allocations: 315.2 kB / 397.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.007328, allocations: 195.4 kB / 397.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.007382, allocations: 52 kB / 397.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.00749, allocations: 75.97 kB / 397.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.007555, allocations: 111.6 kB / 397.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.007672, allocations: 155.6 kB / 398.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.008176, allocations: 0.557 MB / 398.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.008181, allocations: 0 / 398.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.008184, allocations: 0 / 398.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.008192, allocations: 3.938 kB / 398.7 MB, free: 13.89 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001258/0.00945, allocations: 0.7462 MB / 399.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.009503, allocations: 8.031 kB / 399.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/0.00957, allocations: 66.66 kB / 399.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.009649, allocations: 44.66 kB / 399.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.01047, allocations: 419 kB / 399.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.01048, allocations: 12.88 kB / 399.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.01051, allocations: 24.38 kB / 400 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.01093, allocations: 326 kB / 400.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01094, allocations: 4 kB / 400.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.01096, allocations: 11.98 kB / 400.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.01097, allocations: 8 kB / 400.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.01132, allocations: 241.8 kB / 400.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.01275, allocations: 1.159 MB / 401.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.0131, allocations: 186.4 kB / 401.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.01331, allocations: 104.8 kB / 402 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.01333, allocations: 0 / 402 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.01336, allocations: 34.78 kB / 402 MB, free: 10.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.01336, allocations: 7.938 kB / 402 MB, free: 10.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001206/0.01456, allocations: 473.8 kB / 402.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.0146, allocations: 59.39 kB / 402.5 MB, free: 9.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.01492, allocations: 385.6 kB / 402.9 MB, free: 9.406 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.01494, allocations: 33.7 kB / 403 MB, free: 9.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.01507, allocations: 224.2 kB / 403.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.01509, allocations: 39.64 kB / 403.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.01517, allocations: 49.69 kB / 403.3 MB, free: 9.047 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.01527, allocations: 350.7 kB / 403.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.01542, allocations: 99.94 kB / 403.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01559, allocations: 135.4 kB / 403.8 MB, free: 8.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.01589, allocations: 219.1 kB / 404 MB, free: 8.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01589, allocations: 0 / 404 MB, free: 8.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007402/0.01663, allocations: 442.7 kB / 404.5 MB, free: 7.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01665, allocations: 8.094 kB / 404.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01666, allocations: 4 kB / 404.5 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005016/0.01716, allocations: 241.5 kB / 404.7 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.01728, allocations: 43.84 kB / 404.8 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.01872, allocations: 2.101 MB / 406.9 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.01894, allocations: 47.97 kB / 406.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01895, allocations: 4 kB / 406.9 MB, free: 5.195 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.0191, allocations: 150.5 kB / 407.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.01914, allocations: 43.83 kB / 407.1 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.01919, allocations: 39.12 kB / 407.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01919, allocations: 0 / 407.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.0192, allocations: 0 / 407.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.0192, allocations: 3.938 kB / 407.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007829/0.01998, allocations: 0.6357 MB / 407.8 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01999, allocations: 4 kB / 407.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.02003, allocations: 19.98 kB / 407.8 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.02026, allocations: 160.8 kB / 408 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.02027, allocations: 4 kB / 408 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003963/0.02067, allocations: 0.6538 MB / 408.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02067, allocations: 0 / 408.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.02108, allocations: 376.7 kB / 409 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.02117, allocations: 47.73 kB / 409 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.02119, allocations: 4 kB / 409 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.02133, allocations: 19.92 kB / 409.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.02137, allocations: 7.984 kB / 409.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.02138, allocations: 7.984 kB / 409.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.02158, allocations: 275.2 kB / 409.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02158, allocations: 0 / 409.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.02186, allocations: 71.89 kB / 409.4 MB, free: 2.578 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 8 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006471/0.0225, allocations: 0.9017 MB / 410.3 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.0231, allocations: 377.8 kB / 410.7 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0231, allocations: 0 / 410.7 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.02323, allocations: 79.88 kB / 410.8 MB, free: 1.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.02367, allocations: 81.91 kB / 410.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1312/0.1549, allocations: 3.33 MB / 414.2 MB, free: 34.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.155, allocations: 174.9 kB / 414.3 MB, free: 34.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.1552, allocations: 35.64 kB / 414.4 MB, free: 34.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.1553, allocations: 116.2 kB / 414.5 MB, free: 34.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1553, allocations: 3.156 kB / 414.5 MB, free: 34.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.1799, allocations: 9.314 MB / 423.8 MB, free: 32.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/7.924, allocations: 7.797 kB / 423.8 MB, free: 32.05 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.662822911515832] Failed to read output from testmodel.py, exit status != 0: 8.0165227195248 8.023971179 8.012914252 Calling exit ...